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

* Re: [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sun, QinX @ 2021-03-18  1:42 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

> -----Original Message-----
> From: Sun, QinX <qinx.sun@intel.com>
> Sent: Wednesday, March 17, 2021 1:06 AM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform

Tested-by: Sun Qin <qinx.sun@intel.com>

[-- Attachment #2: TestMeteringAndPolicing.log --]
[-- Type: application/octet-stream, Size: 2383516 bytes --]

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

* Re: [dts] [PATCH V1] tests/metering_and_policing: adapt to cvl platform
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-18  7:39 UTC (permalink / raw)
  To: Sun, QinX, dts; +Cc: Sun, QinX

> 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>

Applied

^ 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

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git