From: Weqaar Janjua <weqaar.janjua@gmail.com>
To: Yonghong Song <yhs@fb.com>
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
"Daniel Borkmann" <daniel@iogearbox.net>,
ast@kernel.org, "Magnus Karlsson" <magnus.karlsson@gmail.com>,
"Björn Töpel" <bjorn.topel@intel.com>,
"Weqaar Janjua" <weqaar.a.janjua@intel.com>,
shuah@kernel.org, skhan@linuxfoundation.org,
linux-kselftest@vger.kernel.org,
"Anders Roxell" <anders.roxell@linaro.org>,
jonathan.lemon@gmail.com
Subject: Re: [PATCH bpf-next v4 2/5] selftests/bpf: xsk selftests - SKB POLL, NOPOLL
Date: Thu, 10 Dec 2020 11:55:49 +0000 [thread overview]
Message-ID: <CAPLEeBbLhGATeSbA46SxEpgVXKXm__OcgjPhNKcvzoCnSk7sdA@mail.gmail.com> (raw)
In-Reply-To: <760489c0-f935-437d-6213-6e8775693bbc@fb.com>
On Wed, 9 Dec 2020 at 18:29, Yonghong Song <yhs@fb.com> wrote:
>
>
>
> On 12/7/20 1:53 PM, Weqaar Janjua wrote:
> > Adds following tests:
> >
> > 1. AF_XDP SKB mode
> > Generic mode XDP is driver independent, used when the driver does
> > not have support for XDP. Works on any netdevice using sockets and
> > generic XDP path. XDP hook from netif_receive_skb().
> > a. nopoll - soft-irq processing
> > b. poll - using poll() syscall
> >
> > Signed-off-by: Weqaar Janjua <weqaar.a.janjua@intel.com>
> > ---
> > tools/testing/selftests/bpf/Makefile | 3 +-
> > tools/testing/selftests/bpf/test_xsk.sh | 39 +-
> > tools/testing/selftests/bpf/xdpxceiver.c | 979 +++++++++++++++++++++
> > tools/testing/selftests/bpf/xdpxceiver.h | 153 ++++
> > tools/testing/selftests/bpf/xsk_prereqs.sh | 16 +
> > 5 files changed, 1187 insertions(+), 3 deletions(-)
> > create mode 100644 tools/testing/selftests/bpf/xdpxceiver.c
> > create mode 100644 tools/testing/selftests/bpf/xdpxceiver.h
> >
> > diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
> > index 6a1ddfe68f15..944ae17a39ed 100644
> > --- a/tools/testing/selftests/bpf/Makefile
> > +++ b/tools/testing/selftests/bpf/Makefile
> > @@ -82,7 +82,8 @@ TEST_PROGS_EXTENDED := with_addr.sh \
> > # Compile but not part of 'make run_tests'
> > TEST_GEN_PROGS_EXTENDED = test_sock_addr test_skb_cgroup_id_user \
> > flow_dissector_load test_flow_dissector test_tcp_check_syncookie_user \
> > - test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko
> > + test_lirc_mode2_user xdping test_cpp runqslower bench bpf_testmod.ko \
> > + xdpxceiver
>
> Could you have a patch to put xdpxceiver in .gitignore?
>
> I see below:
> Untracked files:
> (use "git add <file>..." to include in what will be committed)
> tools/testing/selftests/bpf/xdpxceiver
>
ACK, patch on the list now
> >
> > TEST_CUSTOM_PROGS = urandom_read
> >
next prev parent reply other threads:[~2020-12-10 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 21:53 [PATCH bpf-next v4 0/5] selftests/bpf: xsk selftests Weqaar Janjua
2020-12-07 21:53 ` [PATCH bpf-next v4 1/5] selftests/bpf: xsk selftests framework Weqaar Janjua
2020-12-07 21:53 ` [PATCH bpf-next v4 2/5] selftests/bpf: xsk selftests - SKB POLL, NOPOLL Weqaar Janjua
2020-12-09 18:29 ` Yonghong Song
2020-12-10 11:55 ` Weqaar Janjua [this message]
2020-12-07 21:53 ` [PATCH bpf-next v4 3/5] selftests/bpf: xsk selftests - DRV " Weqaar Janjua
2020-12-07 21:53 ` [PATCH bpf-next v4 4/5] selftests/bpf: xsk selftests - Socket Teardown - SKB, DRV Weqaar Janjua
2020-12-07 21:53 ` [PATCH bpf-next v4 5/5] selftests/bpf: xsk selftests - Bi-directional Sockets " Weqaar Janjua
2020-12-08 3:56 ` [PATCH bpf-next v4 0/5] selftests/bpf: xsk selftests Yonghong Song
2020-12-08 7:03 ` Björn Töpel
2020-12-09 16:00 ` patchwork-bot+netdevbpf
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=CAPLEeBbLhGATeSbA46SxEpgVXKXm__OcgjPhNKcvzoCnSk7sdA@mail.gmail.com \
--to=weqaar.janjua@gmail.com \
--cc=anders.roxell@linaro.org \
--cc=ast@kernel.org \
--cc=bjorn.topel@intel.com \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=jonathan.lemon@gmail.com \
--cc=linux-kselftest@vger.kernel.org \
--cc=magnus.karlsson@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=weqaar.a.janjua@intel.com \
--cc=yhs@fb.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;
as well as URLs for NNTP newsgroup(s).