[V1,2/2] test_plans/kernelpf_iavf: adapt to the intree kernel driver

Message ID 20230130111226.4004219-2-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1,1/2] tests/kernelpf_iavf: modify script to adapt the intree kernel driver |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Jiale, SongX Jan. 30, 2023, 11:12 a.m. UTC
  the intree kernel driver cannot set "vf-vlan-running", modify the
testplan to adapt to this difference.

Signed-off-by: Song Jiale <songx.jiale@intel.com>
---
 test_plans/kernelpf_iavf_test_plan.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Tu, Lijuan March 7, 2023, 3:49 a.m. UTC | #1
On Mon, 30 Jan 2023 11:12:26 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> the intree kernel driver cannot set "vf-vlan-running", modify the
> testplan to adapt to this difference.
> 
> Signed-off-by: Song Jiale <songx.jiale@intel.com>


Series applied, thanks
  

Patch

diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst
index 5b91d38b..b708c75b 100644
--- a/test_plans/kernelpf_iavf_test_plan.rst
+++ b/test_plans/kernelpf_iavf_test_plan.rst
@@ -394,7 +394,7 @@  Test case: IAVF DUAL VLAN filtering
     sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0")
     sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0")
 
-4. check the pkts can't be received in VF.
+4. check the pkts can't be received in VF, but if the kernel cannot set ``vf-vlan-pruning``, check can receive 2 pkts in VF.
 
 5. add rx_vlan in VF::
 
@@ -428,7 +428,7 @@  Test case: IAVF DUAL VLAN filtering
 
     testpmd> rx_vlan rm 1 0
 
-10. repeat step 3, check the pkts can not be received by VF.
+10. repeat step 3, check the pkts can not be received by VF, but if the kernel cannot set ``vf-vlan-pruning``, check can receive 2 pkts in VF.
 
 
 Test case: IAVF DUAL VLAN header stripping