[dts] [PATCH V1] tests/kernelpf_iavf: optimize script
Song Jiale
songx.jiale at intel.com
Thu Jan 19 16:07:02 CET 2023
"iavf_dual_vlan_insert" does not need to test dcf mode, which is the same as
the case "ice_dcf_dual_vlan/test_dcf_vlan_insert_in_pvid_enable" test.
Signed-off-by: Song Jiale <songx.jiale at intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 9089b511..5e955feb 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -1021,6 +1021,7 @@ class TestKernelpfIavf(TestCase):
"""
Test case: IAVF DUAL VLAN header insertion
"""
+ self.skip_case(not self.dcf_mode, "the case not support this dcf mode")
out_vlan = 1
pkt_list = [
'Ether(dst="%s",type=0x0800)/IP(src="196.222.232.221")/("X"*480)'
--
2.25.1
More information about the dts
mailing list