test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode
@ 2019-06-10  6:00 nareddy
  2019-06-12  2:51 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-06-10  6:00 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

In vector mode 4 packets are required.
Modified packet count to 4 in all test cases.

Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
---
 tests/TestSuite_uni_pkt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py
index 40dc5e0..5d09fc1 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -81,7 +81,7 @@ class TestUniPacket(TestCase):
         for pkt_type in pkt_types.keys():
             pkt_names = pkt_types[pkt_type]
             pkt = Packet(pkt_type=pkt_type)
-            pkt.send_pkt(tx_port=self.tester_iface)
+            pkt.send_pkt(tx_port=self.tester_iface, count=4)
             out = self.dut.get_session_output(timeout=2)
             for pkt_layer_name in pkt_names:
                 if pkt_layer_name not in out:
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode
  2019-06-10  6:00 [dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode nareddy
@ 2019-06-12  2:51 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-12  2:51 UTC (permalink / raw)
  To: nareddy, dts; +Cc: fmasood, avijay

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Monday, June 10, 2019 2:01 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to
> support vector mode
> 
> From: Praneeth Reddy <nareddy@marvell.com>
> 
> In vector mode 4 packets are required.
> Modified packet count to 4 in all test cases.
> 
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
>  tests/TestSuite_uni_pkt.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index
> 40dc5e0..5d09fc1 100644
> --- a/tests/TestSuite_uni_pkt.py
> +++ b/tests/TestSuite_uni_pkt.py
> @@ -81,7 +81,7 @@ class TestUniPacket(TestCase):
>          for pkt_type in pkt_types.keys():
>              pkt_names = pkt_types[pkt_type]
>              pkt = Packet(pkt_type=pkt_type)
> -            pkt.send_pkt(tx_port=self.tester_iface)
> +            pkt.send_pkt(tx_port=self.tester_iface, count=4)
>              out = self.dut.get_session_output(timeout=2)
>              for pkt_layer_name in pkt_names:
>                  if pkt_layer_name not in out:
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-12  2:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10  6:00 [dts] [PATCH] TestSuite_uni_pkt.py: Modified send packet count to support vector mode nareddy
2019-06-12  2:51 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).