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 staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00
DDRInit.c Staging: bcm: DDRInit: fix up some bracing issues. 2014-01-09 10:39:43 -08:00
DDRInit.h
Debug.h Staging: bcm: Fix warning: "Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ..." 2013-01-07 10:57:51 -08:00
HandleControlPacket.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
HostMIBSInterface.h Staging: bcm: Remove typedef for _U_MIBS_IP_ADDRESS and call directly. 2012-11-26 16:07:58 -08:00
IPv6Protocol.c staging: bcm: Remove unnecessary pointer casting 2013-10-29 17:03:40 -07:00
IPv6ProtocolHdr.h Staging: bcm: Remove typedef for IPV6HeaderFormatTag and call directly. 2013-01-07 10:49:02 -08:00
InterfaceAdapter.h Staging: bcm: Change ULONG to unsigned long in InterfaceAdapter.h 2012-11-02 11:36:47 -07:00
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 Staging: bcm: InterfaceIdleMode.h: Checkpatch fixes 2012-10-23 20:28:19 -07:00
InterfaceInit.c staging: bcm: clean up a type issue in ConfigureEndPointTypesThroughEEPROM() 2014-01-09 10:35:25 -08:00
InterfaceInit.h Staging: bcm: Add two products and remove an existing product. 2012-11-13 12:38:29 -08:00
InterfaceIsr.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
InterfaceIsr.h Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
InterfaceMacros.h
InterfaceMisc.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
InterfaceMisc.h Staging: bcm: Remove typedef for _S_INTERFACE_ADAPTER and call directly. 2012-11-02 11:36:46 -07:00
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 staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00
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 staging: bcm: Fix typo in comments 2013-08-23 10:01:43 -07:00
Kconfig
LeakyBucket.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
Macros.h Staging: bcm: Replace UCHAR with unsigned char in Macros.h 2013-01-07 10:56:43 -08:00
Makefile
Misc.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
PHSDefines.h Staging: bcm: Remove typedef for _S_PHS_RULE and call directly. 2013-01-07 10:54:49 -08:00
PHSModule.c staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
PHSModule.h staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00
Protocol.h Staging: bcm: Remove typedef for TransportHeaderT and call directly. 2013-01-07 10:56:54 -08:00
Prototypes.h staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00
Qos.c drivers: bcm: Mark functions as static in Qos.c 2014-01-08 15:46:08 -08:00
Queue.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
cntrl_SignalingInterface.h Staging: bcm: Change B_UINT8 to u8 in cntrl_SignalingInterface.h 2012-10-29 17:07:57 -07:00
headers.h staging: bcm: remove Version.h file. 2013-08-30 11:46:48 -07:00
hostmibs.c Staging: bcm: Remove typedef for _S_PHS_RULE and call directly. 2013-01-07 10:54:49 -08:00
led_control.c staging: bcm: Replace FALSE with false 2013-10-28 14:13:46 -07:00
led_control.h Staging: bcm: Remove macro B_ULONG32 in led_control.h. 2013-01-07 10:51:50 -08:00
nvm.c staging: bcm : Fix typo in staging/bcm 2014-01-11 12:52:42 -08:00
nvm.h Staging: bcm: Remove typedef for _FLASH_SECTOR_INFO. 2013-01-07 10:45:51 -08:00
sort.c
target_params.h Staging: bcm: Remove typedef for _TARGET_PARAMS and call directly. 2013-01-07 10:54:01 -08:00
vendorspecificextn.c staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00
vendorspecificextn.h staging: bcm: Replace BOOLEAN with bool 2013-10-28 14:13:08 -07:00