[dts] [PATCH] dynamic_queue: Increase sending frames count and destination IPs to distribute frames on all queues
Tu, Lijuan
lijuan.tu at intel.com
Wed Jun 26 10:41:31 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> pvukkisala at marvell.com
> Sent: Tuesday, June 18, 2019 5:47 PM
> To: dts at dpdk.org
> Cc: avijay at marvell.com; fmasood at marvell.com; Phanendra Vukkisala
> <pvukkisala at marvell.com>
> Subject: [dts] [PATCH] dynamic_queue: Increase sending frames count and
> destination IPs to distribute frames on all queues
>
> 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