[PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing

Hangbin Liu posted 2 patches 11 months, 2 weeks ago
tools/testing/selftests/wireguard/netns.sh    | 29 +++++++++-----
.../testing/selftests/wireguard/qemu/Makefile | 40 ++++++++++++++-----
.../selftests/wireguard/qemu/kernel.config    |  7 ++--
3 files changed, 53 insertions(+), 23 deletions(-)
[PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing
Posted by Hangbin Liu 11 months, 2 weeks ago
This patch set convert iptables to nftables for wireguard testing, as
iptables is deparated and nftables is the default framework of most releases.

v3: drop iptables directly (Jason A. Donenfeld)
    Also convert to using nft for qemu testing (Jason A. Donenfeld)
v2: use one nft table for testing (Phil Sutter)

Hangbin Liu (2):
  selftests: wireguards: convert iptables to nft
  selftests: wireguard: update to using nft for qemu test

 tools/testing/selftests/wireguard/netns.sh    | 29 +++++++++-----
 .../testing/selftests/wireguard/qemu/Makefile | 40 ++++++++++++++-----
 .../selftests/wireguard/qemu/kernel.config    |  7 ++--
 3 files changed, 53 insertions(+), 23 deletions(-)

-- 
2.46.0
Re: [PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing
Posted by Hangbin Liu 9 months ago
Hi Jason,

I saw the patch status[1] is still "Awaiting Upstream".
Is there anything I need to do?

https://patchwork.kernel.org/project/netdevbpf/patch/20250106081043.2073169-2-liuhangbin@gmail.com/

Thanks
Hangbin
On Mon, Jan 06, 2025 at 08:10:41AM +0000, Hangbin Liu wrote:
> This patch set convert iptables to nftables for wireguard testing, as
> iptables is deparated and nftables is the default framework of most releases.
> 
> v3: drop iptables directly (Jason A. Donenfeld)
>     Also convert to using nft for qemu testing (Jason A. Donenfeld)
> v2: use one nft table for testing (Phil Sutter)
> 
> Hangbin Liu (2):
>   selftests: wireguards: convert iptables to nft
>   selftests: wireguard: update to using nft for qemu test
> 
>  tools/testing/selftests/wireguard/netns.sh    | 29 +++++++++-----
>  .../testing/selftests/wireguard/qemu/Makefile | 40 ++++++++++++++-----
>  .../selftests/wireguard/qemu/kernel.config    |  7 ++--
>  3 files changed, 53 insertions(+), 23 deletions(-)
> 
> -- 
> 2.46.0
>
Re: [PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing
Posted by Jason A. Donenfeld 9 months ago
On Tue, Mar 18, 2025 at 10:24:40AM +0000, Hangbin Liu wrote:
> I saw the patch status[1] is still "Awaiting Upstream".
> Is there anything I need to do?

I'm looking at it now, but the subject line of your series says,
"selftests: wireguards: " which is really not the same as all the other
patches that touch these files.

Jason
Re: [PATCHv4 RESEND net-next 0/2] selftests: wireguards: use nftables for testing
Posted by Hangbin Liu 9 months ago
On Wed, Mar 19, 2025 at 05:11:15PM +0100, Jason A. Donenfeld wrote:
> On Tue, Mar 18, 2025 at 10:24:40AM +0000, Hangbin Liu wrote:
> > I saw the patch status[1] is still "Awaiting Upstream".
> > Is there anything I need to do?
> 
> I'm looking at it now, but the subject line of your series says,
> "selftests: wireguards: " which is really not the same as all the other
> patches that touch these files.

Oh, I will fix the name in next patch.

Hangbin