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 09FA4A00E6 for ; Wed, 12 Jun 2019 10:00:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D73911D17E; Wed, 12 Jun 2019 10:00:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id E62341D150 for ; Wed, 12 Jun 2019 10:00:39 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5C80WAh024363 for ; Wed, 12 Jun 2019 01:00:39 -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=Cs2gFH44w8WcqMzp4rQaCeF7swR/3LS+rdvDykrnPmA=; b=tXVPzpXr75SCSMZ4gueiELjomjKqwC6g+icwEsPwICT75Rz25g1FzEk8TnW1UV8zpr4G elhV7Wj1PdfST2a91qbR9iiILaFgYO9BJJGJ6jMQmDDJVKlGsnXASgj8uZ3L9CcRVApm QNdT73zkFAGFExOetdWbuFo/iCfuXW3PKpw3l2e3qpYzlJhB+TfeZMWFGWCtYw3AzupS /rmgtf9FmaZNRaccE1RpZFrvR88H92507wVwbQyLwWBGav8q03XzN1U+bRO6dc75EGV/ c4zifGPAsmT7PmIl2rZL7dmVOeMpVNs+0UO4Q4oaEflmDC41Oxl4GKmr7tnamzEbPZ0w Eg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2t2ukn0gef-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 12 Jun 2019 01:00:38 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 12 Jun 2019 01:00:38 -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, 12 Jun 2019 01:00:38 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 044CF3F7040; Wed, 12 Jun 2019 01:00:36 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Wed, 12 Jun 2019 13:30:32 +0530 Message-ID: <1560326432-20742-1-git-send-email-pvukkisala@marvell.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-12_04:, , signatures=0 Subject: [dts] [PATCH] rxtx_callbacks: Support test in 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: Phanendra Vukkisala Sending 4 packets to support running test in vector mode, as vector mode needs minimum of 4 packets to forward Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_rxtx_callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_rxtx_callbacks.py b/tests/TestSuite_rxtx_callbacks.py index c48e542..76ad70f 100644 --- a/tests/TestSuite_rxtx_callbacks.py +++ b/tests/TestSuite_rxtx_callbacks.py @@ -84,7 +84,7 @@ class TestRxtxCallbacks(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.7.9.5