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 04760A00E6 for ; Thu, 13 Jun 2019 16:42:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96DF41D635; Thu, 13 Jun 2019 16:42:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A3DDC1D634 for ; Thu, 13 Jun 2019 16:42:22 +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 x5DEg4kn024157 for ; Thu, 13 Jun 2019 07:42:21 -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=6zmzsSj6kIWZIzdEf/OI41/296e25U1csA2Wgh330E0=; b=T50uH0nZMXoYoUav/ODhByHmzABb60oQFKIpwX/UCvfd3L7rLgXLN6Uay+MqC7gdIaX8 vuXbNKgBFhp2VPnYxz+IFep7CFq6BcxoBnNg4uaQTr46Lm/1UIrVG4xC3bTv+wMmjcsD F7jZcJiG1h1H6mTvAgG82bV0iSYUtejVYZOUMTx0Z4PIntFLXFzz/PrOTc4itQ1bI7Nq CCxPbAjCJpkCTj+xvzg5zRDjBeTu0IGLS/vy9BnDGGK8Hr5ZhlyFplsp97Qw3IOeqahr lXihygh0wrwByr/p3YkvNB5qJlAHEPoiOOmH4qBLi/1GY9HYvOBwI9t+IgAsteuGCIUS IQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2t3j821ga8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 13 Jun 2019 07:42:21 -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; Thu, 13 Jun 2019 07:42:20 -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, 13 Jun 2019 07:42:20 -0700 Received: from phanendra-system.marvell.com (unknown [10.28.11.20]) by maili.marvell.com (Postfix) with ESMTP id 998393F703F; Thu, 13 Jun 2019 07:42:19 -0700 (PDT) From: To: CC: , , Phanendra Vukkisala Date: Thu, 13 Jun 2019 20:12:16 +0530 Message-ID: <1560436936-15434-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-13_09:, , signatures=0 Subject: [dts] [PATCH] queue_start_stop: 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 and expecting 4 packets instead of 1 to support vector mode Signed-off-by: Phanendra Vukkisala --- tests/TestSuite_queue_start_stop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py index 6cd6831..34a2f41 100644 --- a/tests/TestSuite_queue_start_stop.py +++ b/tests/TestSuite_queue_start_stop.py @@ -101,7 +101,7 @@ class TestQueueStartStop(TestCase): pkt = Packet(pkt_type="UDP", pkt_len=pktSize) inst = self.tester.tcpdump_sniff_packets(rxitf) pkt.config_layer('ether', {'dst': dmac}) - pkt.send_pkt(tx_port=txitf) + pkt.send_pkt(tx_port=txitf, count=4) sniff_pkts = self.tester.load_tcpdump_sniff_packets(inst) if received: @@ -157,7 +157,7 @@ class TestQueueStartStop(TestCase): except Exception, e: raise IOError("queue start/stop forward failure: %s" % e) - self.verify("ports 0 queue 0 receive 1 packages" in out, "start queue revice package failed, out = %s"%out) + self.verify("ports 0 queue 0 receive 4 packages" in out, "start queue revice package failed, out = %s"%out) try: # start tx queue test -- 1.7.9.5