ionic: Use vzalloc for large per-queue related buffers
authorBrett Creeley <brett@pensando.io>
Thu, 17 Feb 2022 22:02:50 +0000 (14:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Feb 2022 04:37:14 +0000 (20:37 -0800)
commit116dce0ff047f8e37d99f414c419646c0cc71d0b
tree209f6b4dac0dddfb5e5a2a2ddb92d5d6657b9bd8
parent12b1b997c0e5604f1a5c081f51ff67f4c814b7dd
ionic: Use vzalloc for large per-queue related buffers

Use vzalloc for per-queue info structs that don't need any
DMA mapping to help relieve memory pressure found when used
in our limited SOC environment.

Signed-off-by: Brett Creeley <brett@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c