[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250708131905.GK452973@horms.kernel.org>
Date: Tue, 8 Jul 2025 14:19:05 +0100
From: Simon Horman <horms@...nel.org>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, will@...lsroot.io,
stephen@...workplumber.org
Subject: Re: [Patch v2 net 2/2] selftests/tc-testing: Add a nested netem
duplicate test
On Mon, Jul 07, 2025 at 12:50:15PM -0700, Cong Wang wrote:
> Integrate the reproducer from William into tc-testing and use scapy
> to generate packets for testing:
>
> # ./tdc.py -e 1676
> -- ns/SubPlugin.__init__
> -- scapy/SubPlugin.__init__
> Test 1676: NETEM nested duplicate 100%
> [ 1154.071135] v0p0id1676: entered promiscuous mode
> [ 1154.101066] virtio_net virtio0 enp1s0: entered promiscuous mode
> [ 1154.146301] virtio_net virtio0 enp1s0: left promiscuous mode
> .
> Sent 1 packets.
> [ 1154.173695] v0p0id1676: left promiscuous mode
> [ 1154.216159] v0p0id1676: entered promiscuous mode
> .
> Sent 1 packets.
> [ 1154.238398] v0p0id1676: left promiscuous mode
> [ 1154.260909] v0p0id1676: entered promiscuous mode
> .
> Sent 1 packets.
> [ 1154.282708] v0p0id1676: left promiscuous mode
> [ 1154.309399] v0p0id1676: entered promiscuous mode
> .
> Sent 1 packets.
> [ 1154.337949] v0p0id1676: left promiscuous mode
> [ 1154.360924] v0p0id1676: entered promiscuous mode
> .
> Sent 1 packets.
> [ 1154.383522] v0p0id1676: left promiscuous mode
>
> All test results:
>
> 1..1
> ok 1 1676 - NETEM nested duplicate 100%
>
> Reported-by: William Liu <will@...lsroot.io>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists