[V1,8/8] tests/rss_to_rte_flow: remove --pkt-filter-mode sync dpdk change

Message ID 20221215064204.30802-8-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1,1/8] test_plans/ddp_gtp_qregion: remove --pkt-filter-mode sync dpdk change |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test fail Testing issues

Commit Message

Lingli Chen Dec. 15, 2022, 6:42 a.m. UTC
  According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration)
remove --pkt-filter-mode.

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 tests/TestSuite_rss_to_rte_flow.py | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
  

Comments

Weiyuan Li Dec. 22, 2022, 8:33 a.m. UTC | #1
> -----Original Message-----
> From: Lingli Chen <linglix.chen@intel.com>
> Sent: Thursday, December 15, 2022 2:42 PM
> To: dts@dpdk.org
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>; Chen, LingliX
> <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 8/8] tests/rss_to_rte_flow: remove --pkt-filter-
> mode sync dpdk change
> 
> According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow
> Director configuration) remove --pkt-filter-mode.
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
> ---
Tested-by: Weiyuan Li <weiyuanx.li@intel.com>
  

Patch

diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
index 29faa5c4..7d2bfa9b 100644
--- a/tests/TestSuite_rss_to_rte_flow.py
+++ b/tests/TestSuite_rss_to_rte_flow.py
@@ -1173,9 +1173,7 @@  class TestRSS_to_Rteflow(TestCase):
             ],
             "NIC Unsupported: " + str(self.nic),
         )
-        self.pmdout.start_testpmd(
-            "%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect"
-        )
+        self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120)
         self.dut.send_expect("start", "testpmd> ", 120)
@@ -1833,9 +1831,7 @@  class TestRSS_to_Rteflow(TestCase):
                 "--rxq=4 --txq=4 --disable-rss --port-topology=chained",
             )
         else:
-            self.pmdout.start_testpmd(
-                "%s" % self.cores, "--rxq=8 --txq=8 --pkt-filter-mode=perfect"
-            )
+            self.pmdout.start_testpmd("%s" % self.cores, "--rxq=8 --txq=8")
         self.dut.send_expect("set fwd rxonly", "testpmd> ", 120)
         self.dut.send_expect("set verbose 1", "testpmd> ", 120)
         self.dut.send_expect("start", "testpmd> ", 120)