From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Nelson Subject: Re: [PATCH net-next] net: enable RPS on vlan devices Date: Wed, 10 Oct 2018 11:25:46 -0700 Message-ID: <2c4e17e5-61e1-e336-d67a-71ddf717888f@oracle.com> References: <1539132062-4348-1-git-send-email-shannon.nelson@oracle.com> <36675e01-e9be-2464-2ee1-2409ebc22223@oracle.com> <6b6794f4-fa61-a9bc-43ed-3c62eb680498@gmail.com> <6d7227d4-a7e0-0979-42bc-c7af61b35192@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: silviu.smarandache@oracle.com To: John Fastabend , Eric Dumazet , davem@davemloft.net, netdev@vger.kernel.org Return-path: Received: from userp2120.oracle.com ([156.151.31.85]:40862 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeJKBtP (ORCPT ); Wed, 10 Oct 2018 21:49:15 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: 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