[dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is not supported for cavium_a063 and cavium_a064
Tu, Lijuan
lijuan.tu at intel.com
Mon Aug 12 09:02:20 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Monday, August 12, 2019 11:27 AM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is not
> supported for cavium_a063 and cavium_a064
>
> From: Praneeth Reddy <nareddy at marvell.com>
>
> Removed disable-crc-strip parameter for cavium_a063 and cavium_a064
>
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
> tests/TestSuite_shutdown_api.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py index d31392d..f889e1c 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -265,7 +265,10 @@ class TestShutdownApi(TestCase):
> """
> RX_OFFLOAD_KEEP_CRC = 0x10000
>
> - self.pmdout.start_testpmd("Default", "--portmask=%s --port-
> topology=loop --disable-crc-strip" % utils.create_mask(self.ports),
> socket=self.ports_socket)
> + if (self.nic in ["cavium_a063", "cavium_a064"]):
> + self.pmdout.start_testpmd("Default", "--portmask=%s --port-
> topology=loop" % utils.create_mask(self.ports), socket=self.ports_socket)
> + else:
> + self.pmdout.start_testpmd("Default", "--portmask=%s
> + --port-topology=loop --disable-crc-strip" %
> + utils.create_mask(self.ports), socket=self.ports_socket)
> out = self.dut.send_expect("show config rxtx", "testpmd> ")
> Rx_offloads = re.compile('Rx offloads=(.*?)\s+?').findall(out, re.S)
> crc_keep_temp = []
> --
> 1.8.3.1
More information about the dts
mailing list