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

Tu, Lijuan lijuan.tu at intel.com
Wed Jun 26 09:08:22 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> pvukkisala at marvell.com
> Sent: Monday, June 17, 2019 8:52 PM
> To: dts at dpdk.org
> Cc: avijay at marvell.com; fmasood at marvell.com; Phanendra Vukkisala
> <pvukkisala at marvell.com>
> Subject: [dts] [PATCH] mac_filter: Support this test in vector mode
> 
> 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