[dts] [PATCH V1] tests/vf_vlan: Remove useless codes
Fangfang Wei
fangfangx.wei at intel.com
Mon Nov 6 04:03:02 CET 2017
From: Fangfangx Wei <fangfangx.wei at intel.com>
Reference to DPDK-4036: VF vlan strip is supported from i40e kernel driver
2.1.26.
So remove useless codes.
Signed-off-by: Fangfangx Wei <fangfangx.wei at intel.com>
---
tests/TestSuite_vf_vlan.py | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index ab64a15..aae3b6d 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -393,14 +393,8 @@ class TestVfVlan(TestCase):
out = self.send_and_getout(vlan=rx_vlan, pkt_type="VLAN_UDP")
self.verify(
"received 1 packets" in out, "Not received vlan packet as expected!!!")
- nic_type = self.vm_dut_0.ports_info[0]['type']
- nic_name = get_nic_name(nic_type)
- if nic_name in ['fvl10g_vf', 'fortpark_TLV_vf']:
- self.verify("VLAN tci=%s" %
- vlan_hex in out, "Failed to disable strip vlan!!!")
- else:
- self.verify(
- "PKT_RX_VLAN_STRIPPED" not in out, "Failed to disable strip vlan!!!")
+ self.verify(
+ "PKT_RX_VLAN_STRIPPED" not in out, "Failed to disable strip vlan!!!")
self.vm0_testpmd.quit()
--
2.7.5
More information about the dts
mailing list