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 934B1A0471 for ; Wed, 17 Jul 2019 12:44:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72BAB1B9DF; Wed, 17 Jul 2019 12:44:19 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 383321B9D9 for ; Wed, 17 Jul 2019 12:44:18 +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 x6HAfq5N007160; Wed, 17 Jul 2019 03:44:17 -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=lHukQw1OiPDoV6+GpSW20XvjDQ3ac7kNSRckCcNqoMo=; b=polxaw2Tf+HnormfTrJCOi5PDEckgfXneQcWjJ0fQW1tn1QakzhXAldvsw0prjcCdiwB ED3wvVpefEzHF//HR2eec1EIAjr8+ozaitaAAV2Clp2y/yax7iXIzqxNT0NgDhpWi1q7 SEl9vNOZPzwz/OSIdPTjNKXM5QUpoYSw+cysfZ+vAsw1sNZarW3Vy07jas3R8+DJxhsb n6ONqRX4/qZD9p/BEZ8DQ4qVhU/7n/oONoP3DIhXJ2wHu77jskVQlDSBvmvh6u9F3l9U JvilU946GKuuMbUUI0XKz1WD9FutLDL4LjkZGkR5SB95bDlfolcKIxc6du4MltW1f34K Wg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2ts0a277m0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Jul 2019 03:44:17 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 17 Jul 2019 03:44:16 -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; Wed, 17 Jul 2019 03:44:15 -0700 Received: from dut1171.mv.qlogic.com (unknown [10.112.88.18]) by maili.marvell.com (Postfix) with ESMTP id D45663F703F; Wed, 17 Jul 2019 03:44:15 -0700 (PDT) Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id x6HAiFrS029213; Wed, 17 Jul 2019 03:44:15 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id x6HAiFU2029212; Wed, 17 Jul 2019 03:44:15 -0700 From: Yash Sharma To: , CC: , , , yash Date: Wed, 17 Jul 2019 03:44:01 -0700 Message-ID: <20190717104401.29176-1-ysharma@marvell.com> X-Mailer: git-send-email 2.12.0 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-07-17_03:2019-07-17,2019-07-17 signatures=0 Subject: [dts] [PATCH 1/1] tests/TestSuite_vlan.py Set promisc off fastlinq adapters. 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: yash Adding support for fastlinq adapters in Testsuite to set promisc off before starting the TestCase for Vlan Disable Test, Otherwise it accepts packets resulting in failure of Test. Signed-off-by: yash --- tests/TestSuite_vlan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index c7b4b62..86e7eb5 100644 --- a/tests/TestSuite_vlan.py +++ b/tests/TestSuite_vlan.py @@ -75,7 +75,7 @@ class TestVlan(TestCase): self.dut.send_expect("set verbose 1", "testpmd> ") out = self.dut.send_expect("set fwd mac", "testpmd> ") - if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822"]: + if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822", "fastlinq_ql41000", "fastlinq_ql45000"]: self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd> ") self.dut.send_expect("set promisc all off", "testpmd> ") -- 1.8.3.1