[dts] [PATCH V1] tests/metering_and_policing: add 'packet_mode' parameter.

Longfeng Liang longfengx.liang at intel.com
Wed Apr 21 18:03:03 CEST 2021


app/testpmd add meter profile packet mode option in DPDK,DPDK commit:c5a3860f36902e1701817b0961bf99a5c96ede3a,so DTS need update packet mode param,too.

Signed-off-by: Longfeng Liang <longfengx.liang at intel.com>
---
 tests/TestSuite_metering_and_policing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py
index db15d5db..7f52f33f 100644
--- a/tests/TestSuite_metering_and_policing.py
+++ b/tests/TestSuite_metering_and_policing.py
@@ -168,7 +168,7 @@ class TestMeteringAndPolicing(TestCase):
         """
         cir = 3125000000
         pir = 3125000000
-        self.dut.send_expect("add port meter profile trtcm_rfc2698 %d %d %d %d %d %d"
+        self.dut.send_expect("add port meter profile trtcm_rfc2698 %d %d %d %d %d %d 0"
                              % (self.port_id, profile_id, cir, pir, cbs, pbs), "testpmd>")
 
     def create_port_meter(self, mtr_id, profile_id, gyrd_action):
-- 
2.17.1



More information about the dts mailing list