gianfar: Fix gianfar select_queue bogosity
authorSandeep Gopalpet <Sandeep.Kumar@freescale.com>
Thu, 24 Dec 2009 03:13:06 +0000 (03:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Dec 2009 04:24:44 +0000 (20:24 -0800)
commitf74dac0859bd9678b289ad9dc215026fd7ce033e
tree41f5b9926302febc12e2190cac702f720f41e8fb
parent80924e5f7dbe00d964b7249160c7ca25fa3cd889
gianfar: Fix gianfar select_queue bogosity

The gfar_select_queue() function was used to set queue mapping
only for forwarding/bridging applications and the condition
for locally generated packets was completely ignored.

The solution is to remove the gfar_select_queue() function and
use skb_record_rx_queue to set queue mapping for
forwarding/bridging applications. This will ensure that in case of
forwarding/bridging applications txq = rxq will be selected and
skb_tx_hash will be used to pick up a txq for locally generated packets.

Signed-off-by: Sandeep Gopalpet <Sandeep.Kumar@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
This page took 0.026698 seconds and 5 git commands to generate.