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
..
2015-11-02 23:37:46 +01:00
2015-10-21 18:05:50 -05:00
2015-11-15 09:10:53 -08:00
2015-10-23 15:57:27 -04:00
2015-11-13 21:53:18 -08:00
2015-11-07 13:33:07 -08:00
2015-11-15 18:43:40 -05:00
2015-10-27 10:38:41 +01:00
2015-11-07 11:21:47 +01:00
2015-10-27 11:24:23 +01:00
2015-11-10 14:56:23 -08:00
2015-10-27 19:34:54 -07:00
2015-11-10 15:00:03 -08:00
2015-11-10 14:48:36 -08:00
2015-11-11 20:11:28 -08:00
2015-11-13 20:04:17 -08:00
2015-11-12 11:50:33 -08:00
2015-11-03 17:22:17 -08:00
2015-11-04 08:23:51 -05:00
2015-11-05 14:51:32 -08:00
2015-11-06 17:50:42 -08:00
2015-11-11 09:37:34 -07:00
2015-10-27 15:04:56 +09:00
2015-11-07 10:40:47 -07:00
2015-11-07 10:40:47 -07:00
2015-11-02 22:48:39 -05:00
2015-11-11 02:19:33 -05:00
2015-10-26 12:36:55 -07:00
2015-10-23 17:55:10 +09:00
2015-11-05 19:34:48 -08:00
2015-11-06 17:50:42 -08:00
2015-11-05 19:34:48 -08:00
2015-11-10 12:06:23 +01:00
2015-10-28 09:21:12 +01:00
2015-11-06 17:50:42 -08:00
2015-11-02 13:14:44 -08:00
2015-10-31 19:05:59 -04:00
2015-10-23 17:55:10 +09:00
2015-11-06 17:50:42 -08:00
2015-11-04 21:50:37 -08:00
2015-10-28 12:28:06 +01:00
2015-11-10 09:33:06 -08:00
2015-10-31 16:12:10 -07:00
2015-10-30 01:47:27 -04:00
2015-11-11 09:45:24 -08:00
2015-11-03 14:50:15 -05:00
2015-11-04 18:10:13 -08:00
2015-10-21 14:43:42 -06:00
2015-11-06 17:50:42 -08:00
2015-11-18 16:17:42 -05:00
2015-11-05 09:51:50 -08:00
2015-11-09 15:11:24 -08:00
2015-11-06 17:50:42 -08:00
2015-11-05 19:34:48 -08:00
2015-11-04 16:24:33 +01:00
2015-10-23 05:44:28 -07:00
2015-11-05 14:51:32 -08:00
2015-10-27 08:36:08 +09:00
2015-11-04 11:30:57 -08:00
2015-10-22 00:00:49 +02:00
2015-10-30 10:13:26 +01:00
2015-11-05 14:51:32 -08:00
2015-11-09 15:11:24 -08:00
2015-11-09 15:11:24 -08:00
2015-11-10 12:06:15 +01:00
2015-10-26 09:10:56 +01:00
2015-11-07 10:40:46 -07:00
2015-11-17 15:25:43 -05:00
2015-11-10 12:06:16 +01:00
2015-11-05 19:34:48 -08:00
2015-11-05 23:10:54 -08:00
2015-10-23 14:19:58 +01:00
2015-10-27 18:55:31 -07:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 11:04:07 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 11:29:53 -08:00
2015-11-03 11:29:57 -05:00
2015-11-18 16:17:42 -05:00
2015-11-06 19:33:12 +01:00
2015-11-03 12:33:01 -05:00
2015-11-05 19:34:48 -08:00
2015-11-10 17:27:12 -06:00
2015-11-06 12:17:09 -08:00
2015-11-12 11:50:33 -08:00
2015-11-10 17:27:12 -06:00
2015-10-28 10:05:58 -07:00
2015-11-05 19:34:48 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-10-22 21:58:08 -05:00
2015-10-23 05:57:43 -07:00
2015-10-28 04:33:04 +01:00
2015-10-21 14:46:56 -06:00
2015-11-07 01:29:22 +01:00
2015-10-22 08:59:18 -07:00
2015-11-03 11:08:22 -05:00
2015-11-10 13:06:16 +01:00
2015-10-30 11:18:05 +09:00
2015-11-06 17:50:42 -08:00
2015-11-02 14:23:38 -05:00
2015-11-10 12:07:22 -08:00
2015-10-27 19:55:13 -07:00
2015-11-18 16:17:37 -05:00
2015-11-05 19:34:48 -08:00
2015-10-26 10:11:58 +09:00
2015-11-05 19:34:48 -08:00
2015-11-13 21:53:18 -08:00
2015-10-21 14:42:38 -06:00
2015-11-05 14:36:09 -05:00
2015-10-25 21:33:56 -04:00
2015-11-05 19:34:48 -08:00
2015-11-02 17:52:49 -05:00
2015-11-05 19:34:48 -08:00
2015-11-05 19:34:48 -08:00
2015-11-04 09:56:16 -07:00
2015-11-05 11:07:36 +10:00
2015-11-05 19:34:48 -08:00
2015-11-01 17:09:15 -08:00
2015-11-05 19:34:48 -08:00
2015-11-03 20:46:26 +01:00
2015-11-13 20:34:33 -05:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00
2015-11-06 17:50:42 -08:00