[V1] tests/metering_and_policing: adapt to cvl platform
Commit Message
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(+)
Comments
> -----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>
> 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
@@ -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):
"""