diff mbox series

[V1] tests/kernelpf_iavf: optimize script

Message ID 20230119150702.2265437-1-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/kernelpf_iavf: optimize script | expand

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

Jiale, SongX Jan. 19, 2023, 3:07 p.m. UTC
"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

Lijuan Tu Jan. 29, 2023, 1:56 a.m. UTC | #1
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
diff mbox series

Patch

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)'