aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2021-10-09 17:32:43 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-10 11:31:09 +0100
commit6213f07cb542c9651ba614e784bf58ed41354936 (patch)
tree687df6e5bbb9336fb067f5392bff0cb5c40e5bb6 /drivers/net/ethernet/qlogic
parentnet: make dev_get_port_parent_id slightly more readable (diff)
downloadlinux-dev-6213f07cb542c9651ba614e784bf58ed41354936.tar.xz
linux-dev-6213f07cb542c9651ba614e784bf58ed41354936.zip
virtio_net: skip RCU read lock by checking xdp_enabled of vi
networking benchmark shows that __rcu_read_lock and __rcu_read_unlock takes some cpu cycles, and we can avoid calling them partially in virtio rx path by check xdp_enabled of vi, and xdp is disabled most of time Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
0 files changed, 0 insertions, 0 deletions