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)
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>

No differences found