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 1F40CA3160 for ; Fri, 11 Oct 2019 08:52:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00BF41E95C; Fri, 11 Oct 2019 08:52:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 7A0951E957 for ; Fri, 11 Oct 2019 08:52:50 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9B6nn8T019542 for ; Thu, 10 Oct 2019 23:52:49 -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=DseY/k/E7MxcMyLOdsHLja38ZvPQhG72kFxdHiuKB5M=; b=tZibQkGfTvfaSUzPOG9PUciFI7IHxjnftvWkHj86km9niRwQ9NxdzHPukwbtuNp+JCU8 CxsKKchacS5/KhEYPHJj/36lFd5cb+1EW8v97BZTslFTNurME1cS6NKCoOMYfAn72rYh 3tLY6whdJYDNOMIm7AL8CeIOvuU9uDj7gLmiWonfbuMveqdctiz+AHQa7rSW8i8hcX40 dR3abO7jgqMgs///vcab0AxmrAm8YE5Hb4Du9upGgKqPisbArUQqLr315/i9Q6WtRMre hlLmVOV4NUaZtMwXi1gILUGWIMdwFU6nrdRjekcQIC+Odw0xuXmT+yLH07+LlAXCnzMK KA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2vjj6v0ghf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 10 Oct 2019 23:52:49 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 10 Oct 2019 23:52:48 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 10 Oct 2019 23:52:48 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id 1B8AF3F706F; Thu, 10 Oct 2019 23:52:10 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Fri, 11 Oct 2019 12:22:08 +0530 Message-ID: <1570776728-8077-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:6.0.95,1.0.8 definitions=2019-10-11_04:2019-10-10,2019-10-11 signatures=0 Subject: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support for vector mode. 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 Vector mode need 4 packets to forward, modified to send 4 packets from scapy Signed-off-by: Praneeth Reddy --- tests/TestSuite_vlan_ethertype_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py index 3269b57..33e9948 100644 --- a/tests/TestSuite_vlan_ethertype_config.py +++ b/tests/TestSuite_vlan_ethertype_config.py @@ -146,7 +146,7 @@ class TestVlanEthertypeConfig(TestCase): self.tester.scapy_foreground() self.tester.scapy_append("pkt=rdpcap('%s')" % self.tpid_new_file) - self.tester.scapy_append("sendp(pkt, iface='%s')" % self.txItf) + self.tester.scapy_append("sendp(pkt, iface='%s', count=4)" % self.txItf) self.tester.scapy_execute() def check_vlan_packets(self, vlan, tpid, rxItf, result=True): -- 1.8.3.1