[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Oct 2018 11:25:46 -0700
From: Shannon Nelson <shannon.nelson@...cle.com>
To: John Fastabend <john.fastabend@...il.com>,
Eric Dumazet <eric.dumazet@...il.com>, davem@...emloft.net,
netdev@...r.kernel.org
Cc: silviu.smarandache@...cle.com
Subject: Re: [PATCH net-next] net: enable RPS on vlan devices
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
Powered by blists - more mailing lists