From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26B7EA0471 for ; Mon, 12 Aug 2019 05:27:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F272949E0; Mon, 12 Aug 2019 05:27:22 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 46D9B3798 for ; Mon, 12 Aug 2019 05:27:21 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7C3PB3u015951 for ; Sun, 11 Aug 2019 20:27:19 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=VGAu14p3otdiRC8sQSOBCjv+TTi8C5CU5DKksA8TPN0=; b=AcCkcRS8mdLlKLsyozPaUUQFRvR3/aGKuNQsPSW7vLUPzA9EiEdmE8DIN7tNhEbAXJ7L RKJqlvsfWgMwQaO8RI5Ju4mYmF0DiTMCfP0SxUkHB/F95+gjemXcjXQZezLcmQ6ctltb Hgwf1kMrP2DI6+ONjXs+xRJP9RKhR7uO/Bv8FO/To6vxIOgVyjlkRySLZ3Ew2rCDq1dh 8ldk5rUTUqR8Butoekhs9JcBGQNu7Lv8MwUTBRVvAgFUVIpUVY94dj3kg3+pRo0OGhWZ YmcxtHHyyuXUDXcKfYoer3nj9GDcCaDvwG16IfrpIpDg9kJcjUmOiKVGc+RT8VII1yKy 1Q== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2u9wem4egq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 11 Aug 2019 20:27:19 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 11 Aug 2019 20:27:17 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 11 Aug 2019 20:27:17 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id 1ED153F7040; Sun, 11 Aug 2019 20:27:15 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Mon, 12 Aug 2019 08:57:13 +0530 Message-ID: <1565580433-29476-1-git-send-email-nareddy@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-12_02:2019-08-09,2019-08-12 signatures=0 Subject: [dts] [PATCH] TestSuite_shutdown_api.py: disable-crc-strip is not supported for cavium_a063 and cavium_a064 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Praneeth Reddy Removed disable-crc-strip parameter for cavium_a063 and cavium_a064 Signed-off-by: Praneeth Reddy --- 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