DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nicholas Pratte <npratte@iol.unh.edu>
To: Honnappa.Nagarahalli@arm.com, stephen@networkplumber.org,
	thomas.wilks@arm.com, probb@iol.unh.edu, luca.vizzarro@arm.com,
	thomas@monjalon.net, dmarx@iol.unh.edu, yoan.picchi@foss.arm.com,
	paul.szczepanek@arm.com, ian.stokes@intel.com
Cc: dev@dpdk.org, Nicholas Pratte <npratte@iol.unh.edu>
Subject: [PATCH v2 2/2] dts: rework run-time MTU adjustment test case
Date: Mon,  3 Feb 2025 11:38:50 -0500	[thread overview]
Message-ID: <20250203163850.249461-3-npratte@iol.unh.edu> (raw)
In-Reply-To: <20250203163850.249461-1-npratte@iol.unh.edu>

Forwarding restarts in the run-time MTU adjustment test case have been
explicitly added, given that the 'requires_forwarding_restart' decorator
from a previous patch was removed.

Signed-off-by: Nicholas Pratte <npratte@iol.unh.edu>
---
 dts/tests/TestSuite_mtu.py | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dts/tests/TestSuite_mtu.py b/dts/tests/TestSuite_mtu.py
index 3c96a36fc9..a4a14d7b3d 100644
--- a/dts/tests/TestSuite_mtu.py
+++ b/dts/tests/TestSuite_mtu.py
@@ -164,22 +164,33 @@ def test_runtime_mtu_updating_and_forwarding(self) -> None:
             # Configure the new MTU.
 
             # Start packet capturing.
-            testpmd.start()
 
             testpmd.set_port_mtu_all(1500, verify=True)
+
+            testpmd.start()
             self.assess_mtu_boundary(testpmd, 1500)
+            testpmd.stop()
 
             testpmd.set_port_mtu_all(2400, verify=True)
+
+            testpmd.start()
             self.assess_mtu_boundary(testpmd, 1500)
             self.assess_mtu_boundary(testpmd, 2400)
+            testpmd.stop()
 
             testpmd.set_port_mtu_all(4800, verify=True)
+
+            testpmd.start()
             self.assess_mtu_boundary(testpmd, 1500)
             self.assess_mtu_boundary(testpmd, 4800)
+            testpmd.stop()
 
             testpmd.set_port_mtu_all(9000, verify=True)
+
+            testpmd.start()
             self.assess_mtu_boundary(testpmd, 1500)
             self.assess_mtu_boundary(testpmd, 9000)
+            testpmd.stop()
 
     @func_test
     def test_cli_mtu_forwarding_for_std_packets(self) -> None:
-- 
2.47.1


  parent reply	other threads:[~2025-02-03 16:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 19:38 [PATCH 0/2] remove 'requires_forwarding_restart' from framework Nicholas Pratte
2025-01-31 19:38 ` [PATCH 1/2] dts: " Nicholas Pratte
2025-01-31 21:00   ` Luca Vizzarro
2025-01-31 19:38 ` [PATCH 2/2] dts: rework run-time MTU adjustment test case Nicholas Pratte
2025-01-31 21:08   ` Luca Vizzarro
2025-02-03 16:21     ` Nicholas Pratte
2025-02-03 16:38 ` [PATCH v2 0/2] remove requires forwarding restart from framework Nicholas Pratte
2025-02-03 16:38   ` [PATCH v2 1/2] dts: remove 'requires_forwarding_restart' " Nicholas Pratte
2025-02-04 10:40     ` Luca Vizzarro
2025-02-03 16:38   ` Nicholas Pratte [this message]
2025-02-03 16:50     ` [PATCH v2 2/2] dts: rework run-time MTU adjustment test case Luca Vizzarro
2025-02-05 17:24       ` Nicholas Pratte

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=20250203163850.249461-3-npratte@iol.unh.edu \
    --to=npratte@iol.unh.edu \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=dev@dpdk.org \
    --cc=dmarx@iol.unh.edu \
    --cc=ian.stokes@intel.com \
    --cc=luca.vizzarro@arm.com \
    --cc=paul.szczepanek@arm.com \
    --cc=probb@iol.unh.edu \
    --cc=stephen@networkplumber.org \
    --cc=thomas.wilks@arm.com \
    --cc=thomas@monjalon.net \
    --cc=yoan.picchi@foss.arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).