summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar2@in.ibm.com>2009-10-23 03:13:21 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-27 09:02:32 +0100
commit10e85f7f08535c91aa623547c1024d570af4cdcd (patch)
tree75bc7b81bccb2cad449e253347dfcd1b297ce964 /drivers/net/cxgb3/sge.c
parentrtnetlink: speedup rtnl_dump_ifinfo() (diff)
downloadlinux-10e85f7f08535c91aa623547c1024d570af4cdcd.tar.xz
linux-10e85f7f08535c91aa623547c1024d570af4cdcd.zip
cxgb3: Set the rxq
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/cxgb3/sge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 47b352d982ce..cf2e1d3c0d8d 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -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;