Jakub Kicinski
58caed3dac
netdev: reshuffle netif_napi_add() APIs to allow dropping weight
...
Most drivers should not have to worry about selecting the right
weight for their NAPI instances and pass NAPI_POLL_WEIGHT.
It'd be best if we didn't require the argument at all and selected
the default internally.
This change prepares the ground for such reshuffling, allowing
for a smooth transition. The following API should remain after
the next release cycle:
netif_napi_add()
netif_napi_add_weight()
netif_napi_add_tx()
netif_napi_add_tx_weight()
Where the _weight() variants take an explicit weight argument.
I opted for a _weight() suffix rather than a __ prefix, because
we use __ in places to mean that caller needs to also issue a
synchronize_net() call.
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
Link: https://lore.kernel.org/r/20220502232703.396351-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2022-05-03 17:26:10 -07:00
..
2022-04-19 16:58:04 +02:00
2022-04-01 09:37:18 -07:00
2022-03-28 12:27:35 -07:00
2022-04-16 21:57:00 +02:00
2022-03-30 10:36:41 -07:00
2022-03-25 13:56:18 -07:00
2022-05-02 21:21:14 -07:00
2022-04-08 11:00:08 +02:00
2022-04-21 09:29:05 +02:00
2022-03-25 10:11:38 -07:00
2022-03-25 13:35:34 -07:00
2022-04-22 15:15:23 -07:00
2022-04-21 20:01:09 -07:00
2022-04-06 14:08:49 +01:00
2022-03-25 13:35:34 -07:00
2022-04-12 14:23:19 -10:00
2022-04-14 15:08:12 +02:00
2022-03-25 12:14:39 -07:00
2022-03-28 16:52:57 -04:00
2022-03-24 19:37:53 -07:00
2022-03-23 19:00:33 -07:00
2022-04-01 13:19:27 -04:00
2022-03-26 11:51:46 -07:00
2022-04-19 17:55:45 -07:00
2022-04-25 17:31:35 -07:00
2022-04-25 17:03:57 -07:00
2022-04-26 11:35:21 -07:00
2022-04-25 20:26:44 -07:00
2022-03-29 10:18:56 -07:00
2022-03-31 11:43:01 -07:00
2022-03-24 14:14:07 -07:00
2022-03-24 13:13:26 -07:00
2022-03-25 10:11:38 -07:00
2022-03-24 19:37:53 -07:00
2022-03-25 14:18:28 +01:00
2022-03-25 14:18:28 +01:00
2022-03-25 14:18:28 +01:00
2022-03-28 11:37:05 -07:00
2022-03-28 17:29:53 -07:00
2022-04-15 11:41:35 -07:00
2022-04-01 14:40:44 -04:00
2022-04-08 23:54:37 +01:00
2022-04-01 13:45:33 -04:00
2022-04-03 12:26:01 -07:00
2022-04-07 09:43:41 -04:00
2022-03-24 19:06:50 -07:00
2022-04-21 20:01:09 -07:00
2022-04-13 13:09:57 +01:00
2022-04-25 20:51:12 +02:00
2022-03-23 19:00:34 -07:00
2022-04-22 12:47:50 +01:00
2022-03-24 19:06:50 -07:00
2022-04-27 10:57:33 -07:00
2022-03-23 19:00:34 -07:00
2022-04-15 14:49:55 -07:00
2022-04-05 15:39:19 +02:00
2022-03-28 19:38:09 -07:00
2022-04-21 15:41:00 -04:00
2022-04-02 05:34:41 -04:00
2022-03-23 14:35:59 -07:00
2022-04-05 09:59:39 +02:00
2022-03-23 19:00:33 -07:00
2022-03-29 22:45:31 +02:00
2022-05-01 17:45:35 +01:00
2022-04-21 20:01:09 -07:00
2022-04-21 20:01:09 -07:00
2022-04-08 14:20:36 -10:00
2022-03-23 12:17:36 -07:00
2022-04-01 14:40:44 -04:00
2022-05-03 17:26:10 -07:00
2022-03-24 15:09:53 +01:00
2022-03-29 18:55:37 -07:00
2022-03-29 18:55:37 -07:00
2022-04-07 16:20:00 -04:00
2022-04-01 16:26:57 -07:00
2022-03-24 19:06:45 -07:00
2022-04-01 13:45:08 -04:00
2022-03-25 13:02:05 -07:00
2022-03-30 07:22:13 +02:00
2022-05-01 17:45:35 +01:00
2022-04-13 12:38:44 +01:00
2022-04-19 10:19:02 -07:00
2022-03-28 17:29:53 -07:00
2022-04-30 15:20:18 +01:00
2022-03-23 19:58:41 +01:00
2022-04-19 12:20:45 +02:00
2022-04-21 20:01:10 -07:00
2022-04-30 12:58:44 +01:00
2022-03-23 12:33:21 -07:00
2022-04-29 18:55:27 -07:00
2022-04-05 09:59:38 +02:00
2022-03-23 19:00:33 -07:00
2022-03-24 19:06:51 -07:00
2022-05-03 10:15:06 +02:00
2022-04-11 19:18:27 -06:00
2022-04-13 13:58:57 +02:00
2022-03-24 13:13:26 -07:00
2022-03-23 18:03:08 -07:00
2022-04-02 10:32:14 -07:00
2022-03-28 16:53:00 -04:00
2022-04-13 11:37:44 -06:00
2022-03-30 04:18:14 -04:00
2022-04-19 12:08:57 -07:00
2022-04-01 13:40:44 -07:00