cxgb3: Set the rxq
authorKrishna Kumar <krkumar2@in.ibm.com>
Fri, 23 Oct 2009 01:13:21 +0000 (01:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Oct 2009 08:02:32 +0000 (01:02 -0700)
Set the rxq# for LRO when processing the last fragment of a
frame. This helps in fast txq selection for routing workloads.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/sge.c

index 47b352d..cf2e1d3 100644 (file)
@@ -2135,6 +2135,7 @@ static void lro_add_page(struct adapter *adap, struct sge_qset *qs,
        if (!complete)
                return;
 
+       skb_record_rx_queue(skb, qs - &adap->sge.qs[0]);
        skb->ip_summed = CHECKSUM_UNNECESSARY;
        cpl = qs->lro_va;