test suite reviews and discussions
 help / color / mirror / Atom feed
From: Longfeng Liang <longfengx.liang@intel.com>
To: dts@dpdk.org
Cc: Longfeng Liang <longfengx.liang@intel.com>
Subject: [dts] [PATCH V1] tests/metering_and_policing: add 'packet_mode' parameter.
Date: Wed, 21 Apr 2021 16:03:03 +0000	[thread overview]
Message-ID: <20210421160303.8248-1-longfengx.liang@intel.com> (raw)

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


             reply	other threads:[~2021-04-21  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21 16:03 Longfeng Liang [this message]
2021-05-07  7:29 ` Tu, Lijuan

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=20210421160303.8248-1-longfengx.liang@intel.com \
    --to=longfengx.liang@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).