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