From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 028154C88 for ; Wed, 6 Mar 2019 09:27:25 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2019 00:27:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,447,1544515200"; d="scan'208";a="139542336" Received: from dpdk-test60.sh.intel.com ([10.67.111.110]) by orsmga002.jf.intel.com with ESMTP; 06 Mar 2019 00:27:23 -0800 From: Xueqin Lin To: dts@dpdk.org Cc: Xueqin Lin Date: Tue, 5 Mar 2019 21:26:55 -0500 Message-Id: <1551839215-50692-1-git-send-email-xueqin.lin@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dts] [PATCH] test_plans/vf_macfilter: correct case description and command X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2019 08:27:26 -0000 Signed-off-by: Xueqin Lin --- test_plans/vf_macfilter_test_plan.rst | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/test_plans/vf_macfilter_test_plan.rst b/test_plans/vf_macfilter_test_plan.rst index 6f07f28..d93a973 100644 --- a/test_plans/vf_macfilter_test_plan.rst +++ b/test_plans/vf_macfilter_test_plan.rst @@ -107,12 +107,12 @@ Test Case 1: test_kernel_2pf_2vf_1vm_iplink_macfilter testpmd> start 6. Use scapy to send 100 random packets with ip link set MAC to VF, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 7. Also use scapy to send 100 random packets with a wrong MAC to VF, verify - the packets can't be received by one VF and can be forward to another VF - correctly. + the packets can't be received by one VF and also can't be forwarded to + another VF correctly. Test Case 2: test_kernel_2pf_2vf_1vm_mac_add_filter =================================================== @@ -189,21 +189,21 @@ Test Case 2: test_kernel_2pf_2vf_1vm_mac_add_filter case will be failed for FVL/Fort park NICs. 6. Use scapy to send 100 random packets with current VF0's MAC, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 7. Use scapy to send 100 random packets with new added VF0's MAC, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 8. Use scapy to send 100 random packets with a wrong MAC to VF0, verify the - packets can't be received by one VF and can be forward to another VF - correctly. + packets can't be received by one VF and also can't be forwarded to another + VF correctly. Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter =================================================== -1. Get the pci device id of DUT, bind them to igb_uio,for example:: +1. Get the pci device id of DUT, bind them to igb_uio, for example:: ./usertools/dpdk-devbind.py -s @@ -245,7 +245,7 @@ Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter virsh nodedev-detach pci_0000_81_02_0; virsh nodedev-detach pci_0000_81_0a_0; - ./dpdk_nic_bind.py --st + ./usertools/dpdk-devbind.py -s 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused= 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused= @@ -264,7 +264,7 @@ Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter bind them to igb_uio driver, and then start testpmd, enable CRC strip on VF, disable promisc mode, add a new MAC to VF0 and then start:: - ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0 00:07.0 + ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -w 00:06.0 -w 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all @@ -279,21 +279,21 @@ Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter case will be failed for FVL/Fort park NICs. 7. Use scapy to send 100 random packets with current VF0's MAC, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 8. Use scapy to send 100 random packets with new added VF0's MAC, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 9. Use scapy to send 100 random packets with a wrong MAC to VF0, verify the - packets can't be received by one VF and can be forward to another VF - correctly. + packets can't be received by one VF and also can't be forwarded to + another VF correctly. Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter =================================================== -1. Get the pci device id of DUT, bind them to igb_uio,for example:: +1. Get the pci device id of DUT, bind them to igb_uio, for example:: ./usertools/dpdk-devbind.py -s @@ -337,7 +337,7 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter virsh nodedev-detach pci_0000_81_02_0; virsh nodedev-detach pci_0000_81_0a_0; - ./dpdk_nic_bind.py --st + ./usertools/dpdk-devbind.py -s 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f0 drv=i40e unused= 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=ens259f1 drv=i40e unused= @@ -354,9 +354,9 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter 6. Login vm0, got VFs pci device id in vm0, assume they are 00:06.0 & 00:07.0, bind them to igb_uio driver, and then start testpmd, enable CRC strip, - disable promisc mode,set it in mac forward mode:: + disable promisc mode, set it in mac forward mode:: - ./tools/dpdk_nic_bind.py --bind=igb_uio 00:06.0 00:07.0 + ./usertools/dpdk-devbind.py --bind=igb_uio 00:06.0 00:07.0 ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x0f -n 4 -w 00:06.0 -w 00:07.0 -- -i --portmask=0x3 --tx-offloads=0x8fff testpmd> port stop all @@ -367,9 +367,9 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter testpmd> start 7. Use scapy to send 100 random packets with ip link set MAC to VF, verify the - packets can be received by one VF and can be forward to another VF + packets can be received by one VF and can be forwarded to another VF correctly. 8. Also use scapy to send 100 random packets with a wrong MAC to VF, verify - the packets can't be received by one VF and can be forward to another VF - correctly. + the packets can't be received by one VF and also can't be forwarded to + another VF correctly. -- 2.5.5