[dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support for vector mode.

Tu, Lijuan lijuan.tu at intel.com
Sat Oct 12 08:11:00 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Friday, October 11, 2019 2:52 PM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_vlan_ethertype_config.py: Added support
> for vector mode.
> 
> 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