linux/drivers/staging/bcm
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
..
Adapter.h staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
Bcmchar.c staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
Bcmnet.c netdevice: add queue selection fallback handler for ndo_select_queue 2014-02-17 00:36:34 -05:00
CmHost.c staging: bcm: Remove unnecessary pointer casting 2013-10-29 17:03:40 -07:00
CmHost.h
cntrl_SignalingInterface.h
DDRInit.c Staging: bcm: DDRInit: fix up some bracing issues. 2014-01-09 10:39:43 -08:00
DDRInit.h
Debug.h
HandleControlPacket.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
headers.h
hostmibs.c
HostMIBSInterface.h
InterfaceAdapter.h
InterfaceDld.c staging: bcm: line over 80 characters in InterfaceDld.c 2013-12-18 16:24:17 -08:00
InterfaceIdleMode.c staging: bcm: fixed warning about no and prohibited space in InterfaceIdleMode.c. 2013-12-20 11:47:42 -08:00
InterfaceIdleMode.h
InterfaceInit.c staging: bcm: clean up a type issue in ConfigureEndPointTypesThroughEEPROM() 2014-01-09 10:35:25 -08:00
InterfaceInit.h
InterfaceIsr.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
InterfaceIsr.h
InterfaceMacros.h
InterfaceMisc.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
InterfaceMisc.h
InterfaceRx.c beeceem: Replace C99 comments with C89 ones and remove unneeded comments in InterfaceRx.c 2014-01-08 15:59:27 -08:00
InterfaceRx.h
InterfaceTx.c beeceem: Replace C99-style comments with C89 pendants in InterfaceTx.c 2014-01-08 15:57:33 -08:00
InterfaceTx.h
Ioctl.h
IPv6Protocol.c staging: bcm: Remove unnecessary pointer casting 2013-10-29 17:03:40 -07:00
IPv6ProtocolHdr.h
Kconfig
LeakyBucket.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
led_control.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
led_control.h
Macros.h
Makefile
Misc.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
nvm.c staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
nvm.h
PHSDefines.h
PHSModule.c staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
PHSModule.h
Protocol.h
Prototypes.h
Qos.c drivers: bcm: Mark functions as static in Qos.c 2014-01-08 15:46:08 -08:00
Queue.h
sort.c
target_params.h
TODO
Transmit.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
Typedefs.h staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
vendorspecificextn.c
vendorspecificextn.h