linux/drivers/net/ethernet/mellanox/mlx4
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
..
alloc.c net: Mellanox: Delete unnecessary checks before the function call "vunmap" 2015-02-09 14:10:05 -08:00
catas.c net/mlx4_core: Enable device recovery flow with SRIOV 2015-01-25 14:43:14 -08:00
cmd.c net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes 2015-10-27 20:27:11 -07:00
cq.c net/mlx4_core: Make sure there are no pending async events when freeing CQ 2015-05-30 23:35:34 -07:00
en_clock.c ptp: mlx4: use helpers for converting ns to timespec. 2015-03-31 17:19:19 -04:00
en_cq.c net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
en_dcb_nl.c net/mlx4: New file for QoS related firmware commands 2015-04-02 16:25:02 -04:00
en_ethtool.c mlx4: remove mlx4_en_low_latency_recv() 2015-11-18 16:17:40 -05:00
en_main.c net/mlx4_en: Implement mcast loopback prevention for ETH qps 2015-10-21 23:16:47 -04:00
en_netdev.c mlx4: remove mlx4_en_low_latency_recv() 2015-11-18 16:17:40 -05:00
en_port.c net/mlx4_en: Use HW counters for rx/tx bytes/packets in PF device 2015-06-24 00:42:33 -07:00
en_port.h net/mlx4_en: Use PTYS register to query ethtool settings 2014-10-28 17:18:00 -04:00
en_resources.c net/mlx4_en: Implement mcast loopback prevention for ETH qps 2015-10-21 23:16:47 -04:00
en_rx.c net: move skb_mark_napi_id() into core networking stack 2015-11-18 16:17:41 -05:00
en_selftest.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-03-03 21:16:48 -05:00
en_tx.c net/mlx4_en: Explicitly set no vlan tags in WQE ctrl segment when no vlan is present 2015-10-27 20:27:09 -07:00
eq.c net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes 2015-10-27 20:27:11 -07:00
fw_qos.c net/mlx4: Add mlx4_SET_VPORT_QOS implementation 2015-04-02 16:25:02 -04:00
fw_qos.h net/mlx4: Added qos_vport QP configuration in VST mode 2015-04-02 16:25:03 -04:00
fw.c Initial 4.4 merge window submission 2015-11-07 13:33:07 -08:00
fw.h net/mlx4_core: Preparations for 802.1ad VLAN support 2015-07-27 15:00:36 -07:00
icm.c net/mlx4_core: Maintain a persistent memory for mlx4 device 2015-01-25 14:43:13 -08:00
icm.h mlx4_core: Fix GFP flags parameters to be gfp_t 2014-06-04 10:19:13 -07:00
intf.c net/mlx4: Postpone the registration of net_device 2015-08-30 18:12:20 -04:00
Kconfig
main.c net/mlx4_core: Avoid returning success in case of an error flow 2015-11-15 18:43:41 -05:00
Makefile net/mlx4: New file for QoS related firmware commands 2015-04-02 16:25:02 -04:00
mcg.c net/mlx4: Handle return codes in mlx4_qp_attach_common 2015-09-29 21:14:01 -07:00
mlx4_en.h mlx4: remove mlx4_en_low_latency_recv() 2015-11-18 16:17:40 -05:00
mlx4_stats.h net/mlx4_en: Fix off-by-four in ethtool 2015-06-24 00:42:32 -07:00
mlx4.h net/mlx4_core: Replace VF zero mac with random mac in mlx4_core 2015-10-14 19:14:44 -07:00
mr.c mlx4: corretly check failed allocation 2015-10-15 23:31:38 -07:00
pd.c net/mlx4_core: Remove duplicate code line from procedure mlx4_bf_alloc 2015-01-27 17:12:57 -08:00
port.c net/mlx4_en: Add RX-ALL support 2015-04-02 16:25:04 -04:00
profile.c net/mlx4_core: use swap() in mlx4_make_profile() 2015-06-11 15:19:41 -07:00
qp.c Initial 4.4 merge window submission 2015-11-07 13:33:07 -08:00
reset.c net/mlx4_core: Maintain a persistent memory for mlx4 device 2015-01-25 14:43:13 -08:00
resource_tracker.c net/mlx4_core: Fix sleeping while holding spinlock at rem_slave_counters 2015-11-15 18:43:41 -05:00
sense.c
srq.c IB/mlx4: Implement IB_QP_CREATE_USE_GFP_NOIO 2014-06-02 14:58:11 -07:00