test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires minimum of 4 packets
@ 2019-10-11  5:57 nareddy
  2019-10-12  6:11 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-10-11  5:57 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

In vector mode requires minimum of 4 packets to forward

Signed-off-by: Praneeth Reddy <nareddy@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


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

end of thread, other threads:[~2019-10-12  6:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-11  5:57 [dts] [PATCH] TestSuite_netmap_compat.py: Vector mode requires minimum of 4 packets nareddy
2019-10-12  6:11 ` 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).