[V1,1/2] tests/TestSuite_vf_vlan:adapt to I40E driver update
diff mbox series

Message ID 20201029074008.29911-1-weix.xie@intel.com
State Changes Requested
Headers show
Series
  • [V1,1/2] tests/TestSuite_vf_vlan:adapt to I40E driver update
Related show

Commit Message

Xie, WeiX Oct. 29, 2020, 7:40 a.m. UTC
*Update i40e driver to 2.13.10, while vlan set filter on, the pkts with random vlan tag shall not be received.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_vf_vlan.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Xie, WeiX Oct. 29, 2020, 8 a.m. UTC | #1
Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei


> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Thursday, October 29, 2020 3:40 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1 1/2] tests/TestSuite_vf_vlan:adapt to I40E driver
> update
> 
> *Update i40e driver to 2.13.10, while vlan set filter on, the pkts with random
> vlan tag shall not be received.
Ma, LihongX Oct. 30, 2020, 1:52 a.m. UTC | #2
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: Thursday, October 29, 2020 3:40 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1 1/2] tests/TestSuite_vf_vlan:adapt to I40E driver
> update
> 
> *Update i40e driver to 2.13.10, while vlan set filter on, the pkts with
> random vlan tag shall not be received.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_vf_vlan.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py index
> a5754117..327c1466 100644
> --- a/tests/TestSuite_vf_vlan.py
> +++ b/tests/TestSuite_vf_vlan.py
> @@ -273,7 +273,7 @@ class TestVfVlan(TestCase):
>          self.vm0_testpmd.execute_cmd("start")
> 
>          out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
> -        if self.kdriver == "i40e" or self.kdriver == 'ice':
> +        if self.kdriver == 'ice':
>              self.verify("received" in out, "Failed to received vlan
> packet!!!")

In this case it not set the cmd 'vlan filter on' on testpmd, but still can not received pkts, please re-check it.


Regards,
Ma,lihong

Patch
diff mbox series

diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index a5754117..327c1466 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -273,7 +273,7 @@  class TestVfVlan(TestCase):
         self.vm0_testpmd.execute_cmd("start")
 
         out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
-        if self.kdriver == "i40e" or self.kdriver == 'ice':
+        if self.kdriver == 'ice':
             self.verify("received" in out, "Failed to received vlan packet!!!")
         else:
             self.verify(
@@ -395,7 +395,7 @@  class TestVfVlan(TestCase):
 
         # send packet with vlan
         out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
-        if self.kdriver == "i40e" or self.kdriver == 'ice':
+        if self.kdriver == 'ice':
             self.verify(
                 "received 1 packets" in out, "Received mismatched vlan packet while vlan filter on")
         else: