From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BE365A0096 for ; Tue, 4 Jun 2019 10:55:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8A16D1BB32; Tue, 4 Jun 2019 10:55:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6245C1B998 for ; Tue, 4 Jun 2019 10:55:57 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x548olO5026551 for ; Tue, 4 Jun 2019 01:55:56 -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=NGR5YdpkVns6oPz4iwLAmKpdaiDrLSFyhL1898u9Xro=; b=ThsFNuYidRrH0E4IR2S+AhEwJgOxg0r2bFV6KDKllv92JXxXJsY78q7yvPv0SLNplmsJ 4l6sxspQnDBIx1cu3lLKpEQ8/g1goYz4ch7qdYcpWhSLBPoK/nFFVQRFJgnJYjFV+W3h mLfSZ6SEZfY+sfu9vEzgvkRmsEtPEMm628Uzdvv84tnFQXf59wtj5FtMsQ0dncGl0u9j fgldL1Ro/PGk0brdbW6uckIAvyjgfpvfVH+d4NihzNzBRt7f+5vqQpysYlPyqKLJ7WMU sEhDAfVjiDYaSpH5gkzzlf8M06ErzUQHFlMFOVYChv0do6sl2HcXRH65daBfEyFTj2Gj /A== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2swejx9gh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 04 Jun 2019 01:55:56 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 4 Jun 2019 01:55:54 -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; Tue, 4 Jun 2019 01:55:55 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id B53683F703F; Tue, 4 Jun 2019 01:55:53 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Tue, 4 Jun 2019 14:25:51 +0530 Message-ID: <1559638551-4898-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:, , definitions=2019-06-04_07:, , signatures=0 Subject: [dts] [PATCH] TestSuite_skeleton.py: Modified send packet count to support 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 In vector mode minimum of 4 packets are required to forward. Added packet count as 4 while sending packet from scapy. Signed-off-by: Praneeth Reddy --- tests/TestSuite_skeleton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_skeleton.py b/tests/TestSuite_skeleton.py index 6958b32..91cf9c4 100644 --- a/tests/TestSuite_skeleton.py +++ b/tests/TestSuite_skeleton.py @@ -87,7 +87,7 @@ class TestSkeleton(TestCase): """ Send a packet to port """ - self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s")' % (self.mac, iface)) + self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s", count=4)' % (self.mac, iface)) self.tester.scapy_execute() def get_tcpdump_package(self,inst): -- 1.8.3.1