[dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires minimum of 4 packets

Tu, Lijuan lijuan.tu at intel.com
Sat Oct 12 08:11:05 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Friday, October 11, 2019 1:58 PM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires
> minimum of 4 packets
> 
> From: Praneeth Reddy <nareddy at marvell.com>
> 
> In vector mode requires minimum of 4 packets to forward
> 
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
>  tests/TestSuite_netmap_compat.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_netmap_compat.py
> b/tests/TestSuite_netmap_compat.py
> index 2f8171c..61ee153 100644
> --- a/tests/TestSuite_netmap_compat.py
> +++ b/tests/TestSuite_netmap_compat.py
> @@ -108,7 +108,7 @@ class TestNetmapCompat(TestCase):
>          txport = self.tester.get_local_port(self.dut_ports[0])
>          mac = self.dut.get_mac_address(self.dut_ports[0])
>          txItf = self.tester.get_interface(txport)
> -
> self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)],
> iface="%s")' % (mac, txItf))
> +
> self.tester.scapy_append('sendp([Ether(dst="%s")/IP()/UDP()/Raw(\'X\'*18)],
> iface="%s", count=4)' % (mac, txItf))
>          self.tester.scapy_execute()
> 
> 
> --
> 1.8.3.1



More information about the dts mailing list