[V1] tests/kernelpf_iavf: optimize script
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
success
|
Testing OK
|
Commit Message
"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@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 1 +
1 file changed, 1 insertion(+)
Comments
On Thu, 19 Jan 2023 15:07:02 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> "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@intel.com>
Applied, thanks
@@ -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)'