From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id EE031A0096 for ; Thu, 14 Mar 2019 10:01:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A495F374E; Thu, 14 Mar 2019 10:01:30 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id ACE602C28 for ; Thu, 14 Mar 2019 10:01:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2019 02:01:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,477,1544515200"; d="scan'208";a="328538687" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 14 Mar 2019 02:01:19 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Mar 2019 02:01:19 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Mar 2019 02:01:19 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.80]) with mapi id 14.03.0415.000; Thu, 14 Mar 2019 17:01:17 +0800 From: "Tu, Lijuan" To: "Lin, Xueqin" , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts] [PATCH] test_plans/vf_macfilter: correct case description and command Thread-Index: AQHU0/aN3oGXEJ+OBU6BMAxgT1buP6YK4P5w Date: Thu, 14 Mar 2019 09:01:17 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA42D86@SHSMSX101.ccr.corp.intel.com> References: <1551839215-50692-1-git-send-email-xueqin.lin@intel.com> In-Reply-To: <1551839215-50692-1-git-send-email-xueqin.lin@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTI3MmNiZTctNGJiMy00YTFjLWIzYTQtYWE2MTQ5MzgwMDRjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYms0YTBwR3hoY3FxbGU2bk1qeEtnZDZuU0dQejNHcU45YWVKQXROeFlINEVjaCt1VytEUU15UDYzcXBLVE02YiJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xueqin Lin > Sent: Wednesday, March 6, 2019 10:27 AM > To: dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts] [PATCH] test_plans/vf_macfilter: correct case description = and > command >=20 > Signed-off-by: Xueqin Lin >=20 > --- > test_plans/vf_macfilter_test_plan.rst | 42 +++++++++++++++++------------= ------ > 1 file changed, 21 insertions(+), 21 deletions(-) >=20 > 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 >=20 > 6. Use scapy to send 100 random packets with ip link set MAC to VF, veri= fy 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. >=20 > 7. Also use scapy to send 100 random packets with a wrong MAC to VF, ver= ify > - 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 t= o > + another VF correctly. >=20 > Test Case 2: test_kernel_2pf_2vf_1vm_mac_add_filter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > @@ -189,21 +189,21 @@ Test Case 2: > test_kernel_2pf_2vf_1vm_mac_add_filter > case will be failed for FVL/Fort park NICs. >=20 > 6. Use scapy to send 100 random packets with current VF0's MAC, verify t= he > - 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. >=20 > 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. >=20 > 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 an= other > + VF correctly. >=20 > Test Case 3: test_dpdk_2pf_2vf_1vm_mac_add_filter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 > -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:: >=20 > ./usertools/dpdk-devbind.py -s >=20 > @@ -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; >=20 > - ./dpdk_nic_bind.py --st > + ./usertools/dpdk-devbind.py -s >=20 > 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259= f0 > drv=3Di40e unused=3D > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259= f1 > drv=3Di40e unused=3D @@ -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:: >=20 > - ./tools/dpdk_nic_bind.py --bind=3Digb_uio 00:06.0 00:07.0 > + ./usertools/dpdk-devbind.py --bind=3Digb_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=3D0x3 --tx-offloads=3D0x8fff >=20 > 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. >=20 > 7. Use scapy to send 100 random packets with current VF0's MAC, verify t= he > - 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. >=20 > 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. >=20 > 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. >=20 > Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 > -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:: >=20 > ./usertools/dpdk-devbind.py -s >=20 > @@ -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; >=20 > - ./dpdk_nic_bind.py --st > + ./usertools/dpdk-devbind.py -s >=20 > 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259= f0 > drv=3Di40e unused=3D > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259= f1 > drv=3Di40e unused=3D @@ -354,9 +354,9 @@ Test Case 4: > test_dpdk_2pf_2vf_1vm_iplink_macfilter >=20 > 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:: >=20 > - ./tools/dpdk_nic_bind.py --bind=3Digb_uio 00:06.0 00:07.0 > + ./usertools/dpdk-devbind.py --bind=3Digb_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=3D0x3 --tx-offloads=3D0x8fff >=20 > testpmd> port stop all > @@ -367,9 +367,9 @@ Test Case 4: test_dpdk_2pf_2vf_1vm_iplink_macfilter > testpmd> start >=20 > 7. Use scapy to send 100 random packets with ip link set MAC to VF, veri= fy 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. >=20 > 8. Also use scapy to send 100 random packets with a wrong MAC to VF, ver= ify > - 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 t= o > + another VF correctly. > -- > 2.5.5