[dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues
pvukkisala at marvell.com
pvukkisala at marvell.com
Tue Jun 18 11:46:32 CEST 2019
From: Phanendra Vukkisala <pvukkisala at marvell.com>
Signed-off-by: Phanendra Vukkisala <pvukkisala at 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
More information about the dts
mailing list