* [dts][PATCH V1 2/2] tests/dpdk_gro_lib: modify testsuite by DPDK changed
@ 2022-11-16 2:16 Wei Ling
2022-11-30 6:37 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2022-11-16 2:16 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
As DPDK commit 236bc417(app/testpmd: fix MAC header in checksum
forward engine),need to add `csum mac-swap off <port_id>` steps
in testsuite.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_dpdk_gro_lib.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py
index 0f44d666..1d3f809b 100644
--- a/tests/TestSuite_dpdk_gro_lib.py
+++ b/tests/TestSuite_dpdk_gro_lib.py
@@ -111,6 +111,8 @@ class TestDPDKGROLib(TestCase):
def set_testpmd_params(self, mode=1):
# set testpmd params
self.vhost_user.send_expect("set fwd csum", "testpmd> ", 120)
+ self.vhost_user.send_expect("csum mac-swap off 0", "testpmd> ", 120)
+ self.vhost_user.send_expect("csum mac-swap off 1", "testpmd> ", 120)
self.vhost_user.send_expect("stop", "testpmd> ", 120)
self.vhost_user.send_expect("port stop 0", "testpmd> ", 120)
self.vhost_user.send_expect("port stop 1", "testpmd> ", 120)
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-30 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-16 2:16 [dts][PATCH V1 2/2] tests/dpdk_gro_lib: modify testsuite by DPDK changed Wei Ling
2022-11-30 6:37 ` lijuan.tu
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).