Netdev List
 help / color / mirror / Atom feed
From: Shannon Nelson <shannon.nelson@oracle.com>
To: John Fastabend <john.fastabend@gmail.com>,
	Eric Dumazet <eric.dumazet@gmail.com>,
	davem@davemloft.net, netdev@vger.kernel.org
Cc: silviu.smarandache@oracle.com
Subject: Re: [PATCH net-next] net: enable RPS on vlan devices
Date: Wed, 10 Oct 2018 11:25:46 -0700	[thread overview]
Message-ID: <2c4e17e5-61e1-e336-d67a-71ddf717888f@oracle.com> (raw)
In-Reply-To: <ed80d9bb-fad3-a0b7-9473-ad2cdf0c1e2e@gmail.com>

On 10/10/2018 10:37 AM, John Fastabend wrote:
> Latest tree has a sk_lookup() helper supported in 'tc' layer now
> to lookup the socket. And XDP has support for a "cpumap" object
> that allows redirect to remote CPUs. Neither was specifically
> designed for this but I suspect with some extra work these might
> be what is needed.
> 
> I would start by looking at bpf_sk_lookup() in filter.c and the
> cpumap type in ./kernel/bpf/cpumap.c, also in general sk_lookup
> from XDP layer will likely be needed shortly anyways.

Thanks, John, for pointing to something I can start looking at.  My 
customer still wants to use the RPS that they already know, but I'll 
start looking into how this also might work for us.

sln

  reply	other threads:[~2018-10-11  1:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-10  0:41 [PATCH net-next] net: enable RPS on vlan devices Shannon Nelson
2018-10-10  1:04 ` Eric Dumazet
2018-10-10  2:11   ` Shannon Nelson
2018-10-10  2:17     ` Eric Dumazet
2018-10-10 16:18       ` Shannon Nelson
2018-10-10 17:14         ` Eric Dumazet
2018-10-10 17:37           ` John Fastabend
2018-10-10 18:25             ` Shannon Nelson [this message]
2018-10-10 18:23           ` Shannon Nelson
2018-10-10 18:32             ` 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=2c4e17e5-61e1-e336-d67a-71ddf717888f@oracle.com \
    --to=shannon.nelson@oracle.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=john.fastabend@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=silviu.smarandache@oracle.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