* [dts] [PATCH V1] tests/metering_and_policing: add 'packet_mode' parameter.
@ 2021-04-21 16:03 Longfeng Liang
2021-05-07 7:29 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: Longfeng Liang @ 2021-04-21 16:03 UTC (permalink / raw)
To: dts; +Cc: Longfeng Liang
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-07 7:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 16:03 [dts] [PATCH V1] tests/metering_and_policing: add 'packet_mode' parameter Longfeng Liang
2021-05-07 7:29 ` Tu, Lijuan
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).