From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [bpf-next PATCH v3 0/4] bpf, sockmap BPF_F_INGRESS support Date: Fri, 30 Mar 2018 22:53:21 +0200 Message-ID: <57cbc0ad-fee5-643e-52c2-f47545518fe0@iogearbox.net> References: <20180328194710.16072.99278.stgit@john-Precision-Tower-5810> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, davem@davemloft.net To: John Fastabend , ast@kernel.org Return-path: Received: from www62.your-server.de ([213.133.104.62]:58851 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752568AbeC3UxX (ORCPT ); Fri, 30 Mar 2018 16:53:23 -0400 In-Reply-To: <20180328194710.16072.99278.stgit@john-Precision-Tower-5810> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 03/28/2018 09:49 PM, John Fastabend wrote: > This series adds the BPF_F_INGRESS flag support to the redirect APIs. > Bringing the sockmap API in-line with the cls_bpf redirect APIs. > > We add it to both variants of sockmap programs, the first patch adds > support for tx ulp hooks and the third patch adds support for the recv > skb hooks. Patches two and four add tests for the corresponding > ingress redirect hooks. > > Follow on patches can address busy polling support, but next series > from me will move the sockmap sample program into selftests. > > v2: added static to function definition caught by kbuild bot > v3: fixed an error branch with missing mem_uncharge > in recvmsg op moved receive_queue check outside of RCU region Applied this yesterday to bpf-next, thanks John!