[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2607574b-6726-6772-7921-84156393df95@blackwall.org>
Date: Thu, 14 Apr 2022 15:12:39 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: Netdev <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martynas Pumputis <m@...bda.lt>,
WireGuard mailing list <wireguard@...ts.zx2c4.com>,
Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH net 2/2] wireguard: selftests: add metadata_dst xmit
selftest
On 14/04/2022 15:06, Jason A. Donenfeld wrote:
> Hi Nikolay,
>
> These tests need to run in the minimal fast-to-compile test harness
> inside of tools/testing/selftests/wireguard/qemu, which you can try
> out with:
>
> $ make -C tools/testing/selftests/wireguard/qemu -j$(nproc)
>
> Currently iproute2 is built, but only ip(8) is used in the image, so
> you'll need to add tc(8) to there. Clang, however, seems a bit
> heavyweight. I suspect it'd make more sense to just base64 up that
> object file and include it as a string in the file? Or, alternatively,
> we could just not move ahead with this rather niche test, and revisit
> the issue if we wind up wanting to test for lots of bpf things.
> Thoughts on that?
>
> Jason
Hi Jason,
My bad, I completely missed the qemu part. I'll look into including the
ready object file. If it works out, looks compact and well
I'll post v2.
Thanks,
Nik
Powered by blists - more mailing lists