[V2] test*: remove --pkt-filter-mode sync dpdk change

Message ID 20230104020742.54157-1-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V2] test*: 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-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Lingli Chen Jan. 4, 2023, 2:07 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>
---
V2: update subject

 test_plans/ddp_gtp_test_plan.rst        | 7 +++----
 test_plans/flow_filtering_test_plan.rst | 1 -
 tests/TestSuite_ddp_gtp.py              | 2 +-
 3 files changed, 4 insertions(+), 6 deletions(-)
  

Comments

Tu, Lijuan Jan. 5, 2023, 2:25 p.m. UTC | #1
On Tue,  3 Jan 2023 21:07:42 -0500, Lingli Chen <linglix.chen@intel.com> wrote:
> According to dpdk commit 5007ac1318 (ethdev: remove deprecated Flow Director configuration)
> remove --pkt-filter-mode.
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>


Applied, thanks
  

Patch

diff --git a/test_plans/ddp_gtp_test_plan.rst b/test_plans/ddp_gtp_test_plan.rst
index ac694de2..2dd44640 100644
--- a/test_plans/ddp_gtp_test_plan.rst
+++ b/test_plans/ddp_gtp_test_plan.rst
@@ -49,12 +49,11 @@  Prerequisites
 5. Login vm0, then bind VF0 device to igb_uio driver.
 
 6. Start testpmd on host and vm0, host supports flow director and cloud
-   filter, VM supports cloud filter. If test PF flow director, need to add 
-   --pkt-filter-mode=perfect on testpmd to enable flow director, set chained 
-   port topology mode, add txq/rxq to enable multi-queues. In general, PF's 
+   filter, VM supports cloud filter.
+   set chained port topology mode, add txq/rxq to enable multi-queues. In general, PF's
    max queue is 64, VF's max queue is 4::
 
-    ./<build>/app/dpdk-testpmd -c f -n 4 -- -i --pkt-filter-mode=perfect --port-topology=chained --txq=64 --rxq=64
+    ./<build>/app/dpdk-testpmd -c f -n 4 -- -i --port-topology=chained --txq=64 --rxq=64
 
 
 Test Case: Load dynamic device personalization 
diff --git a/test_plans/flow_filtering_test_plan.rst b/test_plans/flow_filtering_test_plan.rst
index e4f7fe19..5bd88a48 100644
--- a/test_plans/flow_filtering_test_plan.rst
+++ b/test_plans/flow_filtering_test_plan.rst
@@ -18,7 +18,6 @@  http://doc.dpdk.org/guides/sample_app_ug/flow_filtering.html
 
 The matching item is dst IP address: "192.168.1.1".
 The match action is entering the queue 1.
-The flow example can specify fdir_mode by '--pkt-filter-mode',if not assign fdir_mode, IXGBE will not support flow example.
 IGB not support flow example.
 ICE support flow example.
 
diff --git a/tests/TestSuite_ddp_gtp.py b/tests/TestSuite_ddp_gtp.py
index d0c3b560..22e73318 100644
--- a/tests/TestSuite_ddp_gtp.py
+++ b/tests/TestSuite_ddp_gtp.py
@@ -157,7 +157,7 @@  class TestDdpGtp(TestCase):
         """
         self.dut_testpmd.start_testpmd(
             "Default",
-            "--pkt-filter-mode=perfect --port-topology=chained \
+            "--port-topology=chained \
             --txq=%s --rxq=%s"
             % (self.PF_QUEUE, self.PF_QUEUE),
         )