Paolo Abeni
a350eccee5
net: remove 'fallback' argument from dev->ndo_select_queue()
...
After the previous patch, all the callers of ndo_select_queue()
provide as a 'fallback' argument netdev_pick_tx.
The only exceptions are nested calls to ndo_select_queue(),
which pass down the 'fallback' available in the current scope
- still netdev_pick_tx.
We can drop such argument and replace fallback() invocation with
netdev_pick_tx(). This avoids an indirect call per xmit packet
in some scenarios (TCP syn, UDP unconnected, XDP generic, pktgen)
with device drivers implementing such ndo. It also clean the code
a bit.
Tested with ixgbe and CONFIG_FCOE=m
With pktgen using queue xmit:
threads vanilla patched
(kpps) (kpps)
1 2334 2428
2 4166 4278
4 7895 8100
v1 -> v2:
- rebased after helper's name change
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-03-20 11:18:55 -07:00
..
2019-03-14 10:48:14 -07:00
2019-02-19 14:50:11 +01:00
2019-03-09 16:53:47 -08:00
2019-02-15 19:48:39 +01:00
2019-03-14 10:30:06 -07:00
2019-03-14 14:36:20 -07:00
2019-03-02 19:51:23 +01:00
2019-03-06 09:41:12 -08:00
2019-03-10 17:37:29 -07:00
2019-03-14 08:46:17 -07:00
2019-03-06 10:15:42 -08:00
2019-03-08 15:06:38 -08:00
2019-03-12 09:47:30 +01:00
2019-03-12 23:46:55 +01:00
2019-03-13 09:51:17 -07:00
2019-02-20 21:12:50 -08:00
2019-03-14 09:11:54 -07:00
2019-03-08 09:11:39 -08:00
2019-02-11 17:21:38 +09:00
2019-03-12 10:04:02 -07:00
2019-02-15 16:54:38 +01:00
2019-03-09 14:57:08 -08:00
2019-03-12 10:04:00 -07:00
2019-03-05 15:43:05 +01:00
2019-02-14 12:36:21 +01:00
2019-03-06 14:18:59 -08:00
2019-02-25 09:06:00 -08:00
2019-03-06 14:18:59 -08:00
2019-03-09 14:57:08 -08:00
2019-03-04 19:05:02 -08:00
2019-03-11 09:34:00 -07:00
2019-02-15 10:49:14 +01:00
2019-03-08 10:02:58 -08:00
2019-03-20 11:18:55 -07:00
2019-03-11 10:57:11 -07:00
2019-03-10 12:29:52 -07:00
2019-03-10 10:17:23 -07:00
2019-03-18 18:32:44 -07:00
2019-03-10 13:16:37 -07:00
2019-02-11 08:18:08 -07:00
2019-03-12 10:04:02 -07:00
2019-03-11 02:51:43 -05:00
2019-03-12 10:04:02 -07:00
2019-03-10 11:54:48 -07:00
2019-03-10 11:54:48 -07:00
2019-03-09 15:53:03 -08:00
2019-03-08 14:12:17 -08:00
2019-03-13 09:34:35 -07:00
2019-03-20 11:18:55 -07:00
2019-03-13 09:41:18 -07:00
2019-03-08 14:12:17 -08:00
2019-03-06 14:18:59 -08:00
2019-03-12 10:04:02 -07:00
2019-03-12 09:45:56 +01:00
2019-03-10 11:54:48 -07:00
2019-02-13 19:45:56 +01:00
2019-03-10 12:29:52 -07:00
2019-03-10 10:17:23 -07:00
2019-03-08 08:23:15 -08:00
2019-03-11 11:12:50 -07:00
2019-03-12 09:46:32 -07:00
2019-02-24 21:12:01 +01:00
2019-02-20 00:41:01 +01:00
2019-02-18 11:31:39 +01:00
2019-03-05 14:08:26 -08:00
2019-03-04 12:52:49 +01:00
2019-03-07 18:32:02 -08:00
2019-03-04 00:01:08 +00:00
2019-03-14 09:00:06 -07:00
2019-02-15 17:21:32 +01:00
2019-02-20 21:15:54 -08:00
2019-03-12 09:46:32 -07:00
2019-03-18 18:34:45 -07:00
2019-03-09 16:53:47 -08:00
2019-03-06 09:41:12 -08:00
2019-03-09 14:57:08 -08:00
2019-02-14 09:14:50 +01:00
2019-03-20 11:18:55 -07:00
2019-03-09 16:53:47 -08:00
2019-03-06 09:41:12 -08:00
2019-03-08 09:52:41 -08:00
2019-03-14 09:11:54 -07:00
2019-03-12 10:04:02 -07:00
2019-03-07 12:56:26 -08:00
2019-03-10 12:47:57 -07:00
2019-03-08 09:58:20 -08:00
2019-02-27 16:00:20 +01:00
2019-03-06 11:19:57 -05:00
2019-03-11 11:22:15 -07:00
2019-03-12 10:39:53 -07:00
2019-03-10 12:29:52 -07:00