test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1 2/2] tests/ice_flow_priority: synchronize test plans and remove the method of reload ice
Date: Mon, 15 Aug 2022 12:50:51 +0000	[thread overview]
Message-ID: <20220815125051.1183292-2-songx.jiale@intel.com> (raw)
In-Reply-To: <20220815125051.1183292-1-songx.jiale@intel.com>

1.synchronize test plans to remove ip fragment packets.
2.optimization scripts, remove the method of reload ice.

According to dpdk commit cc46bab5968 ("net/ice: remove support for IP fragment default RSS").

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_ice_flow_priority.py | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/tests/TestSuite_ice_flow_priority.py b/tests/TestSuite_ice_flow_priority.py
index fa4f67c3..3282164c 100644
--- a/tests/TestSuite_ice_flow_priority.py
+++ b/tests/TestSuite_ice_flow_priority.py
@@ -71,8 +71,6 @@ tv_mac_ipv6 = {
         "mismatched": [
             'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
             'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/("X"*480)',
-            'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
-            'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/("X"*480)',
         ],
     },
     "check_param": {"check_0": {"queue": [4, 5]}, "check_1": {"queue": 8}},
@@ -421,15 +419,8 @@ class ICEPFFlowPriorityTest(TestCase):
         """
         Run before each test case.
         """
-        self.reload_ice()
         self.launch_testpmd()
 
-    def reload_ice(self):
-        self.dut.bind_interfaces_linux("ice")
-        self.dut.send_expect("rmmod ice", "#", 120)
-        self.dut.send_expect("modprobe ice", "#", 120)
-        self.dut.bind_interfaces_linux("vfio-pci")
-
     def launch_testpmd(self, eal_param=False):
         """
         launch testpmd with the command
@@ -439,7 +430,7 @@ class ICEPFFlowPriorityTest(TestCase):
             self.pmdout.start_testpmd(
                 cores="1S/4C/1T",
                 ports=[self.pf_pci],
-                eal_param="--log-level=ice,8",
+                eal_param="--log-level=ice,7",
                 param="--rxq=16 --txq=16",
             )
         else:
-- 
2.25.1


  reply	other threads:[~2022-08-15  4:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 12:50 [dts] [PATCH V1 1/2] test_plans/ice_flow_priority: remove ip fragment packets Jiale Song
2022-08-15 12:50 ` Jiale Song [this message]
2022-08-26  6:22   ` [dts] [PATCH V1 2/2] tests/ice_flow_priority: synchronize test plans and remove the method of reload ice Li, WeiyuanX

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=20220815125051.1183292-2-songx.jiale@intel.com \
    --to=songx.jiale@intel.com \
    --cc=dts@dpdk.org \
    /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).