aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm/emac/emac.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-01-20 08:25:34 -0800
committerDavid S. Miller <davem@davemloft.net>2017-01-23 11:16:27 -0500
commitb9032741e4f86844d8c4a7c18001ee328dae2f7a (patch)
tree8f4858e51e80ccc51e5f0f586f620b9af344c08a /drivers/net/ethernet/qualcomm/emac/emac.c
parentMerge branch 'bcm7278' (diff)
downloadlinux-dev-b9032741e4f86844d8c4a7c18001ee328dae2f7a.tar.xz
linux-dev-b9032741e4f86844d8c4a7c18001ee328dae2f7a.zip
bnx2x: avoid two atomic ops per page on x86
Commit 4cace675d687 ("bnx2x: Alloc 4k fragment for each rx ring buffer element") added extra put_page() and get_page() calls on arches where PAGE_SIZE=4K like x86 Reorder things to avoid this overhead. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Cc: Yuval Mintz <Yuval.Mintz@cavium.com> Cc: Ariel Elior <ariel.elior@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/emac/emac.c')
0 files changed, 0 insertions, 0 deletions