linux_dsm_epyc7002/drivers/net/ethernet/chelsio
Eric Dumazet 93d05d4a32 net: provide generic busy polling to all NAPI drivers
NAPI drivers no longer need to observe a particular protocol
to benefit from busy polling (CONFIG_NET_RX_BUSY_POLL=y)

napi_hash_add() and napi_hash_del() are automatically called
from core networking stack, respectively from
netif_napi_add() and netif_napi_del()

This patch depends on free_netdev() and netif_napi_del() being
called from process context, which seems to be the norm.

Drivers might still prefer to call napi_hash_del() on their
own, since they might combine all the rcu grace periods into
a single one, knowing their NAPI structures lifetime, while
core networking stack has no idea of a possible combining.

Once this patch proves to not bring serious regressions,
we will cleanup drivers to either remove napi_hash_del()
or provide appropriate rcu grace periods combining.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-18 16:17:42 -05:00
..
cxgb chelsio cxgb/cxgb3: Make stats_strings arrays const 2015-04-01 14:41:20 -04:00
cxgb3 cxgb3: use kvfree() in cxgb_free_mem() 2015-06-30 19:44:59 -07:00
cxgb4 net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
cxgb4vf cxgb4/cxgb4vf: Update driver desc. to include Chelsio T6 adapter 2015-10-22 07:03:53 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile