[dts] [PATCH] mac_filter: Support this test in vector mode

pvukkisala at marvell.com pvukkisala at marvell.com
Mon Jun 17 14:51:59 CEST 2019


From: Phanendra Vukkisala <pvukkisala at marvell.com>

Signed-off-by: Phanendra Vukkisala <pvukkisala at marvell.com>
---
 tests/TestSuite_mac_filter.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py
index 87b5dec..9b896b4 100644
--- a/tests/TestSuite_mac_filter.py
+++ b/tests/TestSuite_mac_filter.py
@@ -49,7 +49,7 @@ class TestMacFilter(TestCase):
             Two Ports
             testpmd can normally started
         """
-        self.frames_to_send = 1
+        self.frames_to_send = 4
         # Based on h/w type, choose how many ports to use
         self.dutPorts = self.dut.get_ports()
         # Verify that enough ports are available
@@ -88,7 +88,7 @@ class TestMacFilter(TestCase):
         itf = self.tester.get_interface(self.tester.get_local_port(portid))
         pkt = Packet(pkt_type='UDP')
         pkt.config_layer('ether', {'src': '52:00:00:00:00:00', 'dst': destMac})
-        pkt.send_pkt(tx_port=itf)
+        pkt.send_pkt(tx_port=itf, count=4)
 
     def test_add_remove_mac_address(self):
         """
-- 
1.7.9.5



More information about the dts mailing list