test suite reviews and discussions
 help / color / mirror / Atom feed
From: sunqin <qinx.sun@intel.com>
To: dts@dpdk.org
Cc: sunqin <qinx.sun@intel.com>
Subject: [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform
Date: Tue, 16 Mar 2021 17:06:28 +0000	[thread overview]
Message-ID: <20210316170628.15665-1-qinx.sun@intel.com> (raw)

This suite will be added to regression test on cvl platform, in order to adapt 
to cvl cards, forwarding mode needs to be set as mac.

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_metering_and_policing.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_metering_and_policing.py b/tests/TestSuite_metering_and_policing.py
index 4dec3198..db15d5db 100644
--- a/tests/TestSuite_metering_and_policing.py
+++ b/tests/TestSuite_metering_and_policing.py
@@ -159,6 +159,8 @@ class TestMeteringAndPolicing(TestCase):
         self.pmd_out.start_testpmd(Corelist, "--rxq=%d --txq=%d --portmask=%s --disable-rss"
                                    % (self.port_id, self.port_id, portmask),
                                    eal_param="-s %s --vdev 'net_softnic0,firmware=%s'" % (Servicecorelist, filename))
+        if self.nic in ["columbiaville_25g","columbiaville_100g"]:
+            self.dut.send_expect('set fwd mac','testpmd>')
 
     def add_port_meter_profile(self, profile_id, cbs=400, pbs=500):
         """
-- 
2.17.1


             reply	other threads:[~2021-03-16  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-16 17:06 sunqin [this message]
2021-03-18  1:42 ` Sun, QinX
2021-03-18  7:39 ` 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=20210316170628.15665-1-qinx.sun@intel.com \
    --to=qinx.sun@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).