From: Eric Dumazet <eric.dumazet@gmail.com>
To: Herbert Xu <herbert@gondor.hengli.com.au>
Cc: David Miller <davem@davemloft.net>,
therbert@google.com, netdev@vger.kernel.org
Subject: Re: RPS and forwarding
Date: Mon, 26 Apr 2010 09:38:54 +0200 [thread overview]
Message-ID: <1272267534.2346.7.camel@edumazet-laptop> (raw)
In-Reply-To: <20100426073017.GA22803@gondor.apana.org.au>
Le lundi 26 avril 2010 à 15:30 +0800, Herbert Xu a écrit :
> On Mon, Apr 26, 2010 at 09:25:16AM +0200, Eric Dumazet wrote:
> >
> > RFS is already working like that, if RPS is not used in conjonction.
> >
> > Forwarded traffic will see a non tagged rfs flow entry, so this skb will
> > be processed by this cpu, not a remote one.
> >
> > Currently, only an application can set a RFS flow entry.
>
> I was referring to the case when a forwarded flow gets hashed to
> the same index as a local flow.
Ah OK, with same rxhash I guess ?
(we could store rxhash next to cpu in struct rps_dev_flow, or 16bit part
of it in the existing padding)
next prev parent reply other threads:[~2010-04-26 7:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 2:24 RPS and forwarding Herbert Xu
2010-04-26 4:44 ` Tom Herbert
2010-04-26 4:53 ` Herbert Xu
2010-04-26 5:00 ` Tom Herbert
2010-04-26 6:28 ` David Miller
2010-04-26 6:31 ` Herbert Xu
2010-04-26 7:25 ` Eric Dumazet
2010-04-26 7:30 ` Herbert Xu
2010-04-26 7:38 ` Eric Dumazet [this message]
2010-04-26 7:41 ` Herbert Xu
2010-04-26 5:15 ` Eric Dumazet
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=1272267534.2346.7.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.hengli.com.au \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
/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