kernel-ark/drivers/net/bonding
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
..
bond_3ad.c bonding 802.3ad: Rename rx_machine_lock to state_machine_lock 2011-03-07 16:02:18 -08:00
bond_3ad.h bonding 802.3ad: Rename rx_machine_lock to state_machine_lock 2011-03-07 16:02:18 -08:00
bond_alb.c bonding: use the correct size for _simple_hash() 2011-02-28 13:21:28 -08:00
bond_alb.h bonding: migrate some macros from bond_alb.c to bond_alb.h 2010-12-16 13:16:05 -08:00
bond_debugfs.c bonding: add the debugfs interface to see RLB hash table 2010-12-16 13:16:05 -08:00
bond_ipv6.c bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion 2010-12-16 12:43:22 -08:00
bond_main.c bonding: Incorrect TX queue offset 2011-03-15 19:29:37 -07:00
bond_procfs.c bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
bond_sysfs.c bonding: fix return value of couple of store functions 2011-01-25 13:13:16 -08:00
bonding.h bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00
Makefile bonding: move procfs code into bond_procfs.c 2011-03-09 13:32:17 -08:00