• Sandeep Gopalpet's avatar
    gianfar: Fix gianfar select_queue bogosity · f74dac08
    Sandeep Gopalpet authored
    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: default avatarSandeep Gopalpet <Sandeep.Kumar@freescale.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f74dac08
gianfar.c 80.5 KB