From: Alexander Duyck <alexander.h.duyck@intel.com>
To: David Miller <davem@davemloft.net>
Cc: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
"Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
"Allan, Bruce W" <bruce.w.allan@intel.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: ixgbe: normalize frag_list usage
Date: Mon, 04 Oct 2010 12:49:53 -0700 [thread overview]
Message-ID: <4CAA2FE1.6030900@intel.com> (raw)
In-Reply-To: <20101004.113258.212671454.davem@davemloft.net>
David Miller wrote:
> From: Alexander Duyck <alexander.h.duyck@intel.com>
> Date: Mon, 04 Oct 2010 11:04:18 -0700
>
>> This will not work for RSC due to the fact that it assumes only one
>> RSC context is active per ring and that is not the case. There can be
>> multiple RSC combined flows interlaced on the ring.
>
> Thanks for looking at this Alexander.
>
> I must have mis-understood what the current code is doing.
>
> It looked like RSC packets always show up in-order in the RX ring.
>
> And that they are scanned for by simply combining any sequence of
> non-EOP packets up to and including the final EOP one into a frag
> list.
>
> Are the RSC packets are identified via something else entirely?
They show up in order, but they are not necessarily linear. You can
have other packets show up in the middle of the flow and RSC just jumps
over them. The determination for the jump is handled via nextp in
ixgbe_clean_rx_irq.
I'll look into this and see if I can come up with a counter-proposal
patch based on the suggestions I was making. The key item though is
that the tail would need some means of referencing head which I think
can probably be accomplished via skb->next.
Thanks,
Alex
next prev parent reply other threads:[~2010-10-04 19:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 6:54 ixgbe: normalize frag_list usage David Miller
2010-10-04 15:37 ` Rose, Gregory V
2010-10-04 18:04 ` Alexander Duyck
2010-10-04 18:32 ` David Miller
2010-10-04 19:49 ` Alexander Duyck [this message]
2010-10-05 22:45 ` Duyck, Alexander H
2010-10-06 3:08 ` David Miller
2010-10-07 6:58 ` David Miller
2010-10-07 19:59 ` Alexander Duyck
2010-10-14 2:17 ` David Miller
2010-10-08 23:57 ` [RFC] ixgbe: v3 " Duyck, Alexander H
2010-10-25 19:47 ` 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=4CAA2FE1.6030900@intel.com \
--to=alexander.h.duyck@intel.com \
--cc=bruce.w.allan@intel.com \
--cc=davem@davemloft.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).