[dts] [PATCH] queue_start_stop: Support test in vector mode
Tu, Lijuan
lijuan.tu at intel.com
Fri Jun 14 05:11:58 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> pvukkisala at marvell.com
> Sent: Thursday, June 13, 2019 10:42 PM
> To: dts at dpdk.org
> Cc: avijay at marvell.com; fmasood at marvell.com; Phanendra Vukkisala
> <pvukkisala at marvell.com>
> Subject: [dts] [PATCH] queue_start_stop: Support test in vector mode
>
> From: Phanendra Vukkisala <pvukkisala at marvell.com>
>
> Sending and expecting 4 packets instead of 1 to support vector mode
>
> Signed-off-by: Phanendra Vukkisala <pvukkisala at marvell.com>
> ---
> 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
More information about the dts
mailing list