[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL+tcoBH-UGxyoiVY6PKfYdcGpXc_+x4GbEv6XNNyO+qW4rpvQ@mail.gmail.com>
Date: Mon, 2 Sep 2024 10:54:33 +0800
From: Jason Xing <kerneljasonxing@...il.com>
To: Stanislav Fomichev <sdf@...ichev.me>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, shuah@...nel.org, jmaloy@...hat.com,
linux-kselftest@...r.kernel.org, netdev@...r.kernel.org,
Jason Xing <kernelxing@...cent.com>
Subject: Re: [PATCH net-next] selftests: add selftest for UDP SO_PEEK_OFF support
On Mon, Sep 2, 2024 at 9:07 AM Stanislav Fomichev <sdf@...ichev.me> wrote:
>
> On 09/01, Jason Xing wrote:
> > From: Jason Xing <kernelxing@...cent.com>
> >
> > Add the SO_PEEK_OFF selftest for UDP. In this patch, I mainly do
> > three things:
> > 1. rename tcp_so_peek_off.c
> > 2. adjust for UDP protocol
> > 3. add selftests into it
> >
> > Suggested-by: Jon Maloy <jmaloy@...hat.com>
> > Signed-off-by: Jason Xing <kernelxing@...cent.com>
> > ---
> > Link: https://lore.kernel.org/all/9f4dd14d-fbe3-4c61-b04c-f0e6b8096d7b@redhat.com/
> > ---
> > tools/testing/selftests/net/Makefile | 2 +-
> > .../{tcp_so_peek_off.c => sk_so_peek_off.c} | 91 +++++++++++--------
> > 2 files changed, 56 insertions(+), 37 deletions(-)
> > rename tools/testing/selftests/net/{tcp_so_peek_off.c => sk_so_peek_off.c} (58%)
> >
> > diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
> > index 1179e3261bef..d5029f978aa9 100644
> > --- a/tools/testing/selftests/net/Makefile
> > +++ b/tools/testing/selftests/net/Makefile
> > @@ -80,7 +80,7 @@ TEST_PROGS += io_uring_zerocopy_tx.sh
> > TEST_GEN_FILES += bind_bhash
> > TEST_GEN_PROGS += sk_bind_sendto_listen
> > TEST_GEN_PROGS += sk_connect_zero_addr
> > -TEST_GEN_PROGS += tcp_so_peek_off
> > +TEST_GEN_PROGS += sk_so_peek_off
>
> Should we also add sk_so_peek_off to gitignore?
Good catch. Will update it in the next version :)
Thanks,
Jason
Powered by blists - more mailing lists