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 A7544A3160 for ; Fri, 11 Oct 2019 07:57:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 73DC91E900; Fri, 11 Oct 2019 07:57:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id D41C31E8EE for ; Fri, 11 Oct 2019 07:57:49 +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 x9B5oqHB001139 for ; Thu, 10 Oct 2019 22:57:48 -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=45/dLwRbD5NQKGPABumv2PsNBehJ8rzKUKvxu4myoVE=; b=ATzvGIMnirD/xIEy4ww1/ULwvhVG5nAAF6rj2nTep6YCrsaA34ZA1yb6yGo1FJZNBQFU /yi61pdX7XRjRAK9jX7Vt6TMP0tPi4va7Ji4QlBkP6TfTgdpvhxQ8o9SasmvHOpKoiyf plU8K6tUqqvu9Qld0aTx1dJ+0Inl7ikxj8UvxWSF2gfVxi4WfnXVd6G96BktV3U7x8NZ EP0D8hhjWk/ZV2plIyiOPhaky7djX1ProhrXRx9VjJz4O+ellGzLR8GWF/5g0QpY/X29 GfLgeKgMxIrw+ySmTz9Rv2W+H6lfsuQtowe7qlFDiygYurzU53LHUNMzwvdjcn0v6XUf cQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2vhdxc0cfc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 10 Oct 2019 22:57:48 -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; Thu, 10 Oct 2019 22:57:47 -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; Thu, 10 Oct 2019 22:57:46 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id AA6AD3F703F; Thu, 10 Oct 2019 22:57:45 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Fri, 11 Oct 2019 11:27:42 +0530 Message-ID: <1570773462-5767-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_03:2019-10-10,2019-10-11 signatures=0 Subject: [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires minimum of 4 packets 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 requires minimum of 4 packets to forward Signed-off-by: Praneeth Reddy --- tests/TestSuite_netmap_compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_netmap_compat.py b/tests/TestSuite_netmap_compat.py index 2f8171c..61ee153 100644 --- a/tests/TestSuite_netmap_compat.py +++ b/tests/TestSuite_netmap_compat.py @@ -108,7 +108,7 @@ class TestNetmapCompat(TestCase): txport = self.tester.get_local_port(self.dut_ports[0]) mac = self.dut.get_mac_address(self.dut_ports[0]) txItf = self.tester.get_interface(txport) - self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s")' % (mac, txItf)) + self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s", count=4)' % (mac, txItf)) self.tester.scapy_execute() -- 1.8.3.1