Home
last modified time | relevance | path

Searched hist:"6213 f07cb542c9651ba614e784bf58ed41354936" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dvirtio_net.cdiff 6213f07cb542c9651ba614e784bf58ed41354936 Sat Oct 09 04:32:43 CDT 2021 Li RongQing <lirongqing@baidu.com> 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>