linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbe
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
..
ixgbe_82598.c
ixgbe_82599.c ixgbe: remove magic constant in ixgbe_reset_hw_82599() 2019-02-05 16:08:54 -08:00
ixgbe_common.c
ixgbe_common.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb_nl.c
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_debugfs.c
ixgbe_ethtool.c i40e/ixgbe/igb: fail on new WoL flag setting WAKE_MAGICSECURE 2018-11-07 09:47:01 -08:00
ixgbe_fcoe.c
ixgbe_fcoe.h
ixgbe_ipsec.c xfrm: prefer secpath_set over secpath_dup 2018-12-19 11:21:38 -08:00
ixgbe_ipsec.h
ixgbe_lib.c ixgbe: Use struct_size() helper 2019-02-08 23:03:48 -08:00
ixgbe_main.c net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_model.h
ixgbe_phy.c ixgbe: register a mdiobus 2018-12-20 12:19:11 -08:00
ixgbe_phy.h ixgbe: register a mdiobus 2018-12-20 12:19:11 -08:00
ixgbe_ptp.c ixgbe: extend PTP gettime function to read system clock 2018-11-09 19:43:51 -08:00
ixgbe_sriov.c ixgbe: Fix race when the VF driver does a reset 2018-12-12 15:51:50 -08:00
ixgbe_sriov.h
ixgbe_sysfs.c
ixgbe_txrx_common.h net: bpf: remove XDP_QUERY_XSK_UMEM enumerator 2019-02-15 15:14:22 +01:00
ixgbe_type.h
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c ixgbe: recognize 1000BaseLX SFP modules as 1Gbps 2018-11-28 08:29:49 -08:00
ixgbe_xsk.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 12:06:19 -08:00
ixgbe.h ixgbe: register a mdiobus 2018-12-20 12:19:11 -08:00
Makefile