[dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support for vector mode.
nareddy at marvell.com
nareddy at marvell.com
Fri Oct 11 08:52:08 CEST 2019
From: Praneeth Reddy <nareddy at marvell.com>
Vector mode need 4 packets to forward, modified to send 4 packets from scapy
Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
---
tests/TestSuite_vlan_ethertype_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index 3269b57..33e9948 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -146,7 +146,7 @@ class TestVlanEthertypeConfig(TestCase):
self.tester.scapy_foreground()
self.tester.scapy_append("pkt=rdpcap('%s')" % self.tpid_new_file)
- self.tester.scapy_append("sendp(pkt, iface='%s')" % self.txItf)
+ self.tester.scapy_append("sendp(pkt, iface='%s', count=4)" % self.txItf)
self.tester.scapy_execute()
def check_vlan_packets(self, vlan, tpid, rxItf, result=True):
--
1.8.3.1
More information about the dts
mailing list