test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform
@ 2021-03-16 17:06 sunqin
  2021-03-18  1:42 ` Sun, QinX
  2021-03-18  7:39 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: sunqin @ 2021-03-16 17:06 UTC (permalink / raw)
  To: dts; +Cc: sunqin

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-18  7:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 17:06 [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform sunqin
2021-03-18  1:42 ` Sun, QinX
2021-03-18  7:39 ` 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).