All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel.org>
To: Cong Wang <xiyou.wangcong@gmail.com>
Cc: netdev@vger.kernel.org, jhs@mojatatu.com, will@willsroot.io,
	stephen@networkplumber.org
Subject: Re: [Patch v2 net 2/2] selftests/tc-testing: Add a nested netem duplicate test
Date: Tue, 8 Jul 2025 14:19:05 +0100	[thread overview]
Message-ID: <20250708131905.GK452973@horms.kernel.org> (raw)
In-Reply-To: <20250707195015.823492-3-xiyou.wangcong@gmail.com>

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@willsroot.io>
> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

Reviewed-by: Simon Horman <horms@kernel.org>


      reply	other threads:[~2025-07-08 13:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-07 19:50 [Patch v2 net 0/2] netem: Fix skb duplication logic to prevent infinite loops Cong Wang
2025-07-07 19:50 ` [Patch v2 net 1/2] " Cong Wang
2025-07-08 13:18   ` Simon Horman
2025-07-08 13:19     ` Jamal Hadi Salim
2025-07-08 19:11       ` Simon Horman
2025-07-08 15:56     ` William Liu
2025-07-08 16:06       ` Jakub Kicinski
2025-07-07 19:50 ` [Patch v2 net 2/2] selftests/tc-testing: Add a nested netem duplicate test Cong Wang
2025-07-08 13:19   ` Simon Horman [this message]

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=20250708131905.GK452973@horms.kernel.org \
    --to=horms@kernel.org \
    --cc=jhs@mojatatu.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    --cc=will@willsroot.io \
    --cc=xiyou.wangcong@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.