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

nareddy at marvell.com nareddy at marvell.com
Fri Oct 11 07:57:42 CEST 2019


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