OpenCloudOS-Kernel/drivers/net/ethernet/broadcom
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
..
bnx2x netdevice: add queue selection fallback handler for ndo_select_queue 2014-02-17 00:36:34 -05:00
Kconfig b44: add phylib support 2013-12-20 20:48:48 -05:00
Makefile bgmac: driver for GBit MAC core on BCMA bus 2013-01-09 23:37:03 -08:00
b44.c b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
b44.h b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
bcm63xx_enet.c bcm63xx_enet: remove deprecated IRQF_DISABLED 2013-09-11 16:09:58 -04:00
bcm63xx_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bgmac.c bgmac: propagate error codes in bgmac_probe() 2014-01-14 18:19:20 -08:00
bgmac.h bgmac: add support for Northstar SoC (BCM4707, BCM53018) 2014-01-04 20:25:20 -05:00
bnx2.c bnx2[x]: Make module parameters readable 2014-02-06 20:00:24 -08:00
bnx2.h bnx2: Report MDI/MDIX status to ethtool. 2014-01-01 22:03:38 -05:00
bnx2_fw.h
cnic.c cnic: Add a signature to indicate valid doorbell offset. 2014-01-01 22:08:08 -05:00
cnic.h cnic: Add a signature to indicate valid doorbell offset. 2014-01-01 22:08:08 -05:00
cnic_defs.h cnic: Update version to 2.5.17 and copyright year. 2013-07-29 22:03:07 -07:00
cnic_if.h cnic: Add a signature to indicate valid doorbell offset. 2014-01-01 22:08:08 -05:00
sb1250-mac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tg3.c tg3: Fix deadlock in tg3_change_mtu() 2014-02-06 20:05:36 -08:00
tg3.h tg3: Poll cpmu link state on APE + ASF enabled devices 2014-01-03 20:59:52 -05:00