linux/drivers/net/ethernet/intel
Daniel Borkmann 99932d4fc0 netdevice: add queue selection fallback handler for ndo_select_queue
Add a new argument for ndo_select_queue() callback that passes a
fallback handler. This gets invoked through netdev_pick_tx();
fallback handler is currently __netdev_pick_tx() as most drivers
invoke this function within their customized implementation in
case for skbs that don't need any special handling. This fallback
handler can then be replaced on other call-sites with different
queue selection methods (e.g. in packet sockets, pktgen etc).

This also has the nice side-effect that __netdev_pick_tx() is
then only invoked from netdev_pick_tx() and export of that
function to modules can be undone.

Suggested-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-17 00:36:34 -05:00
..
e1000 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
e1000e Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-01-18 00:55:41 -08:00
i40e i40e: Add missing braces to i40e_dcb_need_reconfig() 2014-01-27 20:17:31 -08:00
i40evf i40e: Fix device ID define names to align to standard 2014-01-17 19:13:04 -08:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-12-18 16:42:06 -05:00
igbvf net: igbvf: slight optimization of addr compare 2013-12-31 16:48:31 -05:00
ixgb drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
ixgbe netdevice: add queue selection fallback handler for ndo_select_queue 2014-02-17 00:36:34 -05:00
ixgbevf ixgbevf: merge ixgbevf_tx_map and ixgbevf_tx_queue into a single function 2014-01-17 19:15:10 -08:00
e100.c e100: Fix "disabling already-disabled device" warning 2014-01-30 16:46:14 -08:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00