[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87blh2vbc7.fsf@cloudflare.com>
Date: Fri, 16 Oct 2020 10:12:08 +0200
From: Jakub Sitnicki <jakub@...udflare.com>
To: John Fastabend <john.fastabend@...il.com>
Cc: alexei.starovoitov@...il.com, daniel@...earbox.net,
netdev@...r.kernel.org, bpf@...r.kernel.org, lmb@...udflare.com
Subject: Re: [bpf-next PATCH 4/4] bpf, selftests: Add three new sockmap tests for verdict only programs
On Sun, Oct 11, 2020 at 07:10 AM CEST, John Fastabend wrote:
> Here we add three new tests for sockmap to test having a verdict program
> without setting the parser program.
>
> The first test covers the most simply case,
>
> sender proxy_recv proxy_send recv
> | | |
> | verdict -----+ |
> | | | |
> +----------------+ +------------+
>
> We load the verdict program on the proxy_recv socket without a
> parser program. It then does a redirect into the send path of the
> proxy_send socket using sendpage_locked().
>
> Next we test the drop case to ensure if we kfree_skb as a result of
> the verdict program everything behaves as expected.
>
> Next we test the same configuration above, but with ktls and a
> redirect into socket ingress queue. Shown here
>
> tls tls
> sender proxy_recv proxy_send recv
> | | |
> | verdict ------------------+
> | | redirect_ingress
> +----------------+
>
> Also to set up ping/pong test
>
> Signed-off-by: John Fastabend <john.fastabend@...il.com>
> ---
Looks like setup commands got filtered out by git commmit.
[...]
Powered by blists - more mailing lists