linux/drivers/net/ethernet/emulex/benet
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
..
be_cmds.c be2net: remove vlan promisc capability from VF's profile descriptors 2015-10-13 04:32:45 -07:00
be_cmds.h be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd 2015-10-13 04:32:44 -07:00
be_ethtool.c be2net: remove local variable 'status' 2015-11-18 15:21:41 -05:00
be_hw.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_main.c net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
be_roce.c be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_roce.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be.h be2net: set pci_func_num while issuing GET_PROFILE_CONFIG cmd 2015-10-13 04:32:44 -07:00
Kconfig be2net: make hwmon interface optional 2015-05-19 16:40:04 -04:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00