summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2019-06-07 21:20:37 +0200
committerDavid S. Miller2019-06-10 04:40:09 +0200
commit90bc6d4b5466009d4a5c8d3a18dbf72b0f5ec807 (patch)
tree3e334f4950598a07265fb31359ec9b1f65e8f2e4 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parentdpaa2-eth: Remove preempt_disable() from seed_pool() (diff)
downloadkernel-qcow2-linux-90bc6d4b5466009d4a5c8d3a18dbf72b0f5ec807.tar.gz
kernel-qcow2-linux-90bc6d4b5466009d4a5c8d3a18dbf72b0f5ec807.tar.xz
kernel-qcow2-linux-90bc6d4b5466009d4a5c8d3a18dbf72b0f5ec807.zip
dpaa2-eth: Use napi_alloc_frag()
The driver is using netdev_alloc_frag() for allocation in the ->ndo_start_xmit() path. That one is always invoked in a BH disabled region so we could also use napi_alloc_frag(). Use napi_alloc_frag() for skb allocation. Cc: Ioana Radulescu <ruxandra.radulescu@nxp.com> Acked-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions