public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Krishna Kumar <krkumar2@in•ibm.com>
To: davem@davemloft•net
Cc: netdev@vger•kernel.org, divy@chelsio•com,
	Krishna Kumar <krkumar2@in•ibm.com>
Subject: [RFC] [PATCH] cxgb3: Set the rxq
Date: Fri, 23 Oct 2009 16:43:21 +0530	[thread overview]
Message-ID: <20091023111321.4726.29354.sendpatchset@localhost.localdomain> (raw)

From: Krishna Kumar <krkumar2@in•ibm.com>

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

 drivers/net/cxgb3/sge.c |    1 +
 1 file changed, 1 insertion(+)

diff -ruNp org/drivers/net/cxgb3/sge.c new/drivers/net/cxgb3/sge.c
--- org/drivers/net/cxgb3/sge.c	2009-10-19 11:58:16.000000000 +0530
+++ new/drivers/net/cxgb3/sge.c	2009-10-20 09:40:40.000000000 +0530
@@ -2135,6 +2135,7 @@ static void lro_add_page(struct adapter 
 	if (!complete)
 		return;
 
+	skb_record_rx_queue(skb, qs - &adap->sge.qs[0]);
 	skb->ip_summed = CHECKSUM_UNNECESSARY;
 	cpl = qs->lro_va;
 

             reply	other threads:[~2009-10-23 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 11:13 Krishna Kumar [this message]
2009-10-24  0:29 ` [RFC] [PATCH] cxgb3: Set the rxq Divy Le Ray
2009-10-24 14:07   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091023111321.4726.29354.sendpatchset@localhost.localdomain \
    --to=krkumar2@in$(echo .)ibm.com \
    --cc=davem@davemloft$(echo .)net \
    --cc=divy@chelsio$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox