test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues
@ 2019-06-18  9:46 pvukkisala
  2019-06-26  8:41 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: pvukkisala @ 2019-06-18  9:46 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 tests/TestSuite_dynamic_queue.py |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_dynamic_queue.py b/tests/TestSuite_dynamic_queue.py
index 0edf613..f334a96 100644
--- a/tests/TestSuite_dynamic_queue.py
+++ b/tests/TestSuite_dynamic_queue.py
@@ -63,11 +63,13 @@ class TestDynamicQueue(TestCase):
         Generate packets and send them to dut
         """
         mac = self.dut.get_mac_address(0)
-        for i in range(self.PF_QUEUE * 2):
+        for i in range(self.PF_QUEUE * 4):
+            j = i /256
+            k = i % 256
             pkt = Packet(pkt_type='IP_RAW')
             pkt.config_layer('ether', {'dst': mac})
             pkt.config_layer(
-                'ipv4', {'dst': '192.168.0.%d' % i, 'src': '191.168.0.1'})
+                'ipv4', {'dst': '192.168.%d.%d' % (j, k), 'src': '191.168.0.1'})
             pkt.send_pkt(tx_port=self.tester_intf)
 
     def rxq_setup_test(self, chgflag=0):
-- 
1.7.9.5


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

* Re: [dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues
  2019-06-18  9:46 [dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues pvukkisala
@ 2019-06-26  8:41 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-26  8:41 UTC (permalink / raw)
  To: pvukkisala, dts; +Cc: avijay, fmasood

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> pvukkisala@marvell.com
> Sent: Tuesday, June 18, 2019 5:47 PM
> To: dts@dpdk.org
> Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala
> <pvukkisala@marvell.com>
> Subject: [dts] [PATCH] dynamic_queue: Increase sending frames count and
> destination IPs to distribute frames on all queues
> 
> From: Phanendra Vukkisala <pvukkisala@marvell.com>
> 
> Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
> ---
>  tests/TestSuite_dynamic_queue.py |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_dynamic_queue.py
> b/tests/TestSuite_dynamic_queue.py
> index 0edf613..f334a96 100644
> --- a/tests/TestSuite_dynamic_queue.py
> +++ b/tests/TestSuite_dynamic_queue.py
> @@ -63,11 +63,13 @@ class TestDynamicQueue(TestCase):
>          Generate packets and send them to dut
>          """
>          mac = self.dut.get_mac_address(0)
> -        for i in range(self.PF_QUEUE * 2):
> +        for i in range(self.PF_QUEUE * 4):
> +            j = i /256
> +            k = i % 256
>              pkt = Packet(pkt_type='IP_RAW')
>              pkt.config_layer('ether', {'dst': mac})
>              pkt.config_layer(
> -                'ipv4', {'dst': '192.168.0.%d' % i, 'src': '191.168.0.1'})
> +                'ipv4', {'dst': '192.168.%d.%d' % (j, k), 'src': '191.168.0.1'})
>              pkt.send_pkt(tx_port=self.tester_intf)
> 
>      def rxq_setup_test(self, chgflag=0):
> --
> 1.7.9.5


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

end of thread, other threads:[~2019-06-26  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18  9:46 [dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues pvukkisala
2019-06-26  8:41 ` 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).