linux/drivers/net
Phil Oester fd0e435b0f bonding: Incorrect TX queue offset
When packets come in from a device with >= 16 receive queues
headed out a bonding interface, syslog gets filled with this:

    kernel: bond0 selects TX queue 16, but real number of TX queues is 16

because queue_mapping is offset by 1.  Adjust return value
to account for the offset.

This is a revision of my earlier patch (which did not use the
skb_rx_queue_* helpers - thanks to Ben for the suggestion).
Andy submitted a similar patch which emits a pr_warning on
invalid queue selection, but I believe the log spew is
not useful.  We can revisit that question in the future,
but in the interim I believe fixing the core problem is
worthwhile.

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-15 19:29:37 -07:00
..
appletalk
arcnet
arm
atl1c atl1[ce]: fix sparse warnings 2011-02-23 14:11:31 -08:00
atl1e net: use pci_dev->revision, again 2011-02-28 11:57:33 -08:00
atlx net: use pci_dev->revision, again 2011-02-28 11:57:33 -08:00
benet be2net: Fix UDP packet detected status in RX compl 2011-03-15 14:57:09 -07:00
bna bna: use device model DMA API 2011-02-02 15:41:25 -08:00
bnx2x Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-15 15:15:17 -07:00
bonding bonding: Incorrect TX queue offset 2011-03-15 19:29:37 -07:00
caif
can Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-15 15:15:17 -07:00
chelsio
cris
cxgb3 net: make dev->master general 2011-02-13 10:42:07 -08:00
cxgb4 net: Kill NETEVENT_PMTU_UPDATE. 2011-02-08 16:17:55 -08:00
cxgb4vf cxgb4vf: Use defined Mailbox Timeout 2011-02-14 17:37:11 -08:00
e1000 e1000: fix sparse warning 2011-03-02 03:20:56 -08:00
e1000e e1000e: bump version number 2011-03-11 02:25:09 -08:00
ehea
enic enic: Support newer version of firmware devcmd CMD_MCPU_FW_INFO 2011-03-14 14:49:29 -07:00
fs_enet
hamradio drivers/net: remove some rcu sparse warnings 2011-01-27 15:02:57 -08:00
ibm_newemac
igb igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
igbvf Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
irda
ixgb ixgb: convert to new VLAN model 2011-03-11 01:16:23 -08:00
ixgbe ixgbe: DCB, PFC not cleared until reset occurs 2011-03-12 04:15:35 -08:00
ixgbevf ixgbe: correct typo in define name 2011-03-12 04:14:28 -08:00
ixp2000
mlx4 mlx4_core: Add ConnectX-3 device IDs 2011-01-28 15:24:55 -08:00
myri10ge net: change netdev->features to u32 2011-01-24 15:32:47 -08:00
netxen netxen: support for GbE port settings 2011-03-15 14:54:55 -07:00
octeon
pch_gbe pch_gbe: Fix the MAC Address load issue. 2011-02-14 13:37:26 -08:00
pcmcia fmvj18x_cs: add new id 2011-02-28 12:06:20 -08:00
phy phylib: SIOCGMIIREG/SIOCSMIIREG: allow access to all mdio addresses 2011-03-14 15:02:14 -07:00
qlcnic qlcnic: Remove validation for max tx and max rx queues 2011-02-23 14:23:33 -08:00
qlge
sfc Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next-2.6 2011-03-08 11:32:45 -08:00
skfp
stmmac stmmac: enable wol via magic frame by default. 2011-02-13 17:00:05 -08:00
tile
tokenring
tulip
usb NET: cdc-phonet, handle empty phonet header 2011-03-14 15:24:18 -07:00
vmxnet3
vxge net: use pci_dev->revision, again 2011-02-28 11:57:33 -08:00
wan
wimax
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2011-03-15 18:55:20 -07:00
3c59x.c
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c ariadne: remove redundant NULL check 2011-03-10 14:41:51 -08:00
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c ax88796: use generic mdio_bitbang driver 2011-02-21 13:49:48 +01:00
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2_fw.h
bnx2.c bnx2: Update firmware and version 2011-03-14 15:00:12 -07:00
bnx2.h bnx2: Update firmware and version 2011-03-14 15:00:12 -07:00
bsd_comp.c
cassini.c
cassini.h
cnic_defs.h
cnic_if.h bnx2x, cnic: Consolidate iSCSI/FCoE shared mem logic in bnx2x 2011-01-31 20:44:46 -08:00
cnic.c ipv6: Convert to use flowi6 where applicable. 2011-03-12 15:08:54 -08:00
cnic.h drivers/net: remove some rcu sparse warnings 2011-01-27 15:02:57 -08:00
cpmac.c
cs89x0.c CS89x0: Add networking support for QQ2440 2011-03-14 16:49:28 -07:00
cs89x0.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c Davinci: Do not reset EMAC TX overruns counter on read 2011-03-14 15:04:50 -07:00
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c depca: Fix warnings 2011-02-01 13:19:07 -08:00
depca.h
dl2k.c dl2k: nulify fraginfo after unmap 2011-01-27 14:18:34 -08:00
dl2k.h
dm9000.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
dm9000.h
dnet.c dnet: fix wrong use of platform_set_drvdata() 2011-02-28 12:22:21 -08:00
dnet.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c enc28j60: Fix reading of transmit status vector 2011-01-31 20:56:54 -08:00
epic100.c
eql.c eql: Convert printks to pr_<level> and netdev_<level> 2011-03-03 13:30:20 -08:00
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
fec.h
forcedeth.c drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled 2011-03-14 14:22:01 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftmac100.c ftmac100: use GFP_ATOMIC allocations where needed 2011-03-14 15:40:39 -07:00
ftmac100.h net: add Faraday FTMAC100 10/100 Ethernet driver 2011-03-03 12:19:11 -08:00
gianfar_ethtool.c
gianfar_sysfs.c
gianfar.c
gianfar.h
greth.c
greth.h
hamachi.c
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c net: use pci_dev->revision, again 2011-02-28 11:57:33 -08:00
ipg.h
iseries_veth.c
jazzsonic.c
jme.c net: use pci_dev->revision, again 2011-02-28 11:57:33 -08:00
jme.h jme: Advance driver version 2011-02-13 21:44:44 -08:00
Kconfig CS89x0: Add networking support for QQ2440 2011-03-14 16:49:28 -07:00
korina.c
ks8842.c
ks8851_mll.c
ks8851.c
ks8851.h
ksz884x.c
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
ll_temac_main.c
ll_temac_mdio.c
ll_temac.h
lne390.c
loopback.c loopback: convert to hw_features 2011-02-17 14:16:35 -08:00
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: don't use platform_set_drvdata() on a net_device 2011-02-28 12:22:20 -08:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c macvlan : fix checksums error when we are in bridge mode 2011-03-14 16:54:44 -07:00
macvtap.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-10 14:26:00 -08:00
Makefile net: add Faraday FTMAC100 10/100 Ethernet driver 2011-03-03 12:19:11 -08:00
mdio.c
meth.c
meth.h
mii.c mii: Convert printks to netdev_info 2011-03-03 13:02:32 -08:00
mipsnet.c
mv643xx_eth.c mv643xx_eth: Use netdev_<level> and pr_<level> 2011-03-03 13:02:31 -08:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c niu: Fix races between up/down and get_stats. 2011-02-03 16:12:50 -08:00
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c ipv4: Create and use route lookup helpers. 2011-03-12 15:08:42 -08:00
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c
qla3xxx.c qla3xxx: add missing __iomem annotation 2011-02-28 12:42:16 -08:00
qla3xxx.h
r6040.c r6040: bump to version 0.27 and date 23Feb2011 2011-03-08 14:21:50 -08:00
r8169.c Merge branch 'davem-next.r8169' of git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev-2.6 2011-03-07 15:39:24 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c s2io: fix uninitialized compile warning 2011-03-07 15:49:31 -08:00
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c net: sh_eth: add set_mdio_gate in bb_info 2011-03-14 14:10:16 -07:00
sh_eth.h net: sh_eth: modify the PHY_INTERFACE_MODE 2011-03-14 14:10:15 -07:00
sis190.c
sis900.c sis900: use pci_dev->revision 2011-02-28 12:29:34 -08:00
sis900.h
skge.c skge: don't mark carrier down at start 2011-02-24 22:17:02 -08:00
skge.h
sky2.c drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled 2011-03-14 14:22:01 -07:00
sky2.h
slhc.c
slip.c
slip.h
smc91x.c smc91x: add devicetree support 2011-01-25 22:41:55 -08:00
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
smsc911x.c smsc911x: Fix build error when SMSC_TRACE() used 2011-03-15 14:52:48 -07:00
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c
sungem_phy.h
sungem.c sungem: Use net_device's internal stats 2011-01-27 15:02:57 -08:00
sungem.h sungem: Use net_device's internal stats 2011-01-27 15:02:57 -08:00
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c
tehuti.h
tg3.c tg3: Remove 5750 PCI code 2011-03-10 01:56:14 -08:00
tg3.h tg3: Use new VLAN code 2011-01-26 13:13:10 -08:00
tlan.c tlan: Use pr_fmt, pr_<level> and netdev_<level> 2011-03-03 13:02:31 -08:00
tlan.h tlan: Code cleanup: checkpatch.pl is relatively happy now. 2011-01-24 15:07:06 -08:00
tsi108_eth.c
tsi108_eth.h
tun.c tun: Convert logging messages to pr_<level> and tun_debug 2011-03-03 12:21:14 -08:00
typhoon.c typhoon: Kill references to UTS_RELEASE 2011-01-24 15:11:02 -08:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c
ucc_geth.h
veth.c veth: remove unneeded ifname code from veth_newlink() 2011-01-24 23:18:18 -08:00
via-rhine.c
via-velocity.c
via-velocity.h
virtio_net.c virtio_net: Add schedule check to napi_enable call 2011-02-10 11:03:31 -08:00
wd.c
xen-netfront.c xen: netfront: fix xennet_get_ethtool_stats() 2011-03-14 21:05:40 -07:00
xilinx_emaclite.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c