]> git.baikalelectronics.ru Git - kernel.git/commit
net: revert 06087dd51ea ("net: dev_pick_tx() fix")
authorEric Dumazet <edumazet@google.com>
Thu, 29 Aug 2013 01:10:43 +0000 (18:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 21:48:04 +0000 (17:48 -0400)
commit9a580847448902dfea3a121506f7e4d59b41d835
treea0e3a4ba9577812f220224d7e6380146c193dc2e
parent4f326ca2059999da18e8a6890739178332b4f222
net: revert 06087dd51ea ("net: dev_pick_tx() fix")

commit 06087dd51eaf8c ("net: dev_pick_tx() fix") and commit
b1d3022e4097 ("bonding: refine IFF_XMIT_DST_RELEASE capability")
are quite incompatible : Queue selection is disabled because skb
dst was dropped before entering bonding device.

This causes major performance regression, mainly because TCP packets
for a given flow can be sent to multiple queues.

This is particularly visible when using the new FQ packet scheduler
with MQ + FQ setup on the slaves.

We can safely revert the first commit now that 6fa22e0c261dc
("net: Split core bits of netdev_pick_tx into __netdev_pick_tx")
properly caps the queue_index.

Reported-by: Xi Wang <xii@google.com>
Diagnosed-by: Xi Wang <xii@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Denys Fedorysychenko <nuclearcat@nuclearcat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c