From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 4E0E71B4F8 for ; Mon, 3 Dec 2018 09:38:48 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2018 00:38:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,309,1539673200"; d="scan'208";a="298775539" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 03 Dec 2018 00:38:47 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 3 Dec 2018 00:38:46 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.176]) with mapi id 14.03.0415.000; Mon, 3 Dec 2018 16:38:45 +0800 From: "Tu, Lijuan" To: "dts@dpdk.org" Thread-Topic: [dts] [PATCH] test_plans: fix doc build warning. Thread-Index: AQHUisUAvvBqeIFQEkWnm8ES8FnIDaVssZug Date: Mon, 3 Dec 2018 08:38:45 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0B9DBA88@SHSMSX101.ccr.corp.intel.com> References: <1543843646-137919-1-git-send-email-lijuan.tu@intel.com> In-Reply-To: <1543843646-137919-1-git-send-email-lijuan.tu@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmFmNTkzYWQtOWRjNS00MTZiLTk4ZGQtNzdhNzI0MzczODBkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZ0IyTThUYk5Pa3RNSFY4Q0x2REptSENOV053OFJ2Tld0bW9yTlJEWHZjUXJNMnV4Ym5vWFY2Sk1YeHE2WVlsOCJ9 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: fix doc build warning. 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: Mon, 03 Dec 2018 08:38:49 -0000 Applied, thanks > -----Original Message----- > From: Tu, Lijuan > Sent: Monday, December 3, 2018 9:27 PM > To: dts@dpdk.org > Cc: Tu, Lijuan > Subject: [dts] [PATCH] test_plans: fix doc build warning. >=20 > Signed-off-by: Lijuan Tu > --- > test_plans/crypto_perf_test_plan.rst | 0 > test_plans/hotplug_mp_test_plan.rst | 54 > ++++++++++++++++----------- > test_plans/index.rst | 9 ++++- > test_plans/rss_to_rte_flow_test_plan.rst | 20 ++++++---- > test_plans/runtime_queue_number_test_plan.rst | 2 +- > test_plans/short_live_test_plan.rst | 0 > test_plans/vf_macfilter_test_plan.rst | 1 + > 7 files changed, 53 insertions(+), 33 deletions(-) mode change 100755 = =3D> > 100644 test_plans/crypto_perf_test_plan.rst > mode change 100755 =3D> 100644 test_plans/hotplug_mp_test_plan.rst > mode change 100755 =3D> 100644 test_plans/short_live_test_plan.rst >=20 > diff --git a/test_plans/crypto_perf_test_plan.rst > b/test_plans/crypto_perf_test_plan.rst > old mode 100755 > new mode 100644 > diff --git a/test_plans/hotplug_mp_test_plan.rst > b/test_plans/hotplug_mp_test_plan.rst > old mode 100755 > new mode 100644 > index 4b9c6dd..db4758b > --- a/test_plans/hotplug_mp_test_plan.rst > +++ b/test_plans/hotplug_mp_test_plan.rst > @@ -33,30 +33,28 @@ > =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 > Hotplug on multi-processes > =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 > -Currently secondary process will only sync ethdev from primary -process = at > init stage, but it will not be aware if device -is attached/detached on p= rimary > process at runtime. > +Currently secondary process will only sync ethdev from primary process > +at init stage, but it will not be aware if device is attached/detached > +on primary process at runtime. >=20 > While there is the requirement from application that take > -primary-secondary process model. The primary process work as a -resource > management process, it will create/destroy virtual device -at runtime, wh= ile > the secondary process deal with the network stuff -with these devices. > - > -So the orignial intention is to fix this gap, but beyond that -the patch= set > provide a more comprehesive solution to handle -different hotplug cases i= n > multi-process situation, it cover below > -scenario: > - > - Attach a device from the primary > - Detach a device from the primary > - Attach a device from a secondary > - Detach a device from a secondary > - > -In primary-secondary process model, we assume ethernet devices are > -shared by default, that means attach or detach a device on any process w= ill > -broadcast to all other processes through mp channel then device > information -will be synchronized on all processes. > +primary-secondary process model. The primary process work as a resource > +management process, it will create/destroy virtual device at runtime, > +while the secondary process deal with the network stuff with these devic= es. > + > +So the orignial intention is to fix this gap, but beyond that the patch > +set provide a more comprehesive solution to handle different hotplug > +cases in multi-process situation, it cover below scenario: > + > +* Attach a device from the primary > +* Detach a device from the primary > +* Attach a device from a secondary > +* Detach a device from a secondary > + > +In primary-secondary process model, we assume ethernet devices are > +shared by default, that means attach or detach a device on any process > +will broadcast to all other processes through mp channel then device > +information will be synchronized on all processes. >=20 > Any failure during attaching process will cause inconsistent status > between processes, so proper rollback action should be considered. > @@ -65,9 +63,11 @@ between processes, so proper rollback action should > be considered. > Test Case: Attach physical device from primary or secondary > =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=3D=3D=3D=3D=3D=3D=3D=3D > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes don't have any device:: > + > example> list > list all etherdev >=20 > @@ -91,9 +91,11 @@ Test Case: Detach physical device from primary or > secondary Bind one port to igb_uio or vfio >=20 > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes have the device:: > + > example> list > list all etherdev > 0 0000:88:00.0 > @@ -113,9 +115,11 @@ Re-bind port to kernel state Test Case: Attach > virtual device from primary or secondary > =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=3D=3D=3D=3D=3D=3D=3D > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes don't have any device:: > + > example> list > list all etherdev >=20 > @@ -132,9 +136,11 @@ Quit primary and secondary processes Test Case: > Detach virtual device from primary or secondary > =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=3D=3D=3D=3D=3D=3D=3D > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes don't have any device:: > + > example> list > list all etherdev >=20 > @@ -158,9 +164,11 @@ Quit primary and secondary processes Test Case: > Repeat to attach/detach physical device from primary or secondary > =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=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 > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes don't have any device:: > + > example> list > list all etherdev >=20 > @@ -197,9 +205,11 @@ Re-bind port to kernel state Test Case: Repeat to > attach/detach virtual device from primary or secondary > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Start sample code as primary then secondary:: > + > ./hotplug_mp --proc-type=3Dauto >=20 > Check primary and secondary processes don't have any device:: > + > example> list > list all etherdev >=20 > diff --git a/test_plans/index.rst b/test_plans/index.rst index > d4449d3..a114231 100644 > --- a/test_plans/index.rst > +++ b/test_plans/index.rst > @@ -43,7 +43,6 @@ The following are the test plans for the DPDK DTS > automated test system. > cloud_filter_test_plan > coremask_test_plan > crypto_perf_test_plan > - ddp_mpls_test_plan > dual_vlan_test_plan > dynamic_config_test_plan > etag_test_plan > @@ -54,6 +53,7 @@ The following are the test plans for the DPDK DTS > automated test system. > ftag_test_plan > generic_filter_test_plan > hotplug_test_plan > + hotplug_mp_test_plan > ieee1588_test_plan > interrupt_pmd_test_plan > ipfrag_test_plan > @@ -118,10 +118,14 @@ The following are the test plans for the DPDK DTS > automated test system. > vf_kernel_test_plan > multiple_pthread_test_plan > qinq_filter_test_plan > - ddp_gtp_test_plan > generic_flow_api_test_plan > + rss_to_rte_flow_test_plan > + ddp_gtp_test_plan > ddp_gtp_qregion_test_plan > + ddp_ppp_l2tp_test_plan > + ddp_mpls_test_plan > runtime_queue_number_test_plan > + dynamic_queue_test_plan > vhost_multi_queue_qemu_test_plan > vhost_qemu_mtu_test_plan >=20 > @@ -135,6 +139,7 @@ The following are the test plans for the DPDK DTS > automated test system. > unit_tests_mbuf_test_plan > unit_tests_mempool_test_plan > unit_tests_pmd_perf_test_plan > + unit_tests_loopback_test_plan > unit_tests_power_test_plan > unit_tests_qos_test_plan > unit_tests_ringpmd_test_plan > diff --git a/test_plans/rss_to_rte_flow_test_plan.rst > b/test_plans/rss_to_rte_flow_test_plan.rst > index b95fb1e..dbbaa28 100644 > --- a/test_plans/rss_to_rte_flow_test_plan.rst > +++ b/test_plans/rss_to_rte_flow_test_plan.rst > @@ -36,12 +36,15 @@ Move RSS to rte_flow Description =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > -rte_flow has been actually defined to include RSS, but till now, -RSS is= out of > rte_flow. It was suggested to move existing RSS to rte_flow. > -This can be better for users, and may save effort for CPK development. > -RSS enabling: now, rte_flow API enabling RSS is support on igb/ixgbe/i40= e. > -RSS input set changing: now, rte flow API RSS input set is support on i4= 0e. > -Notes:non-default RSS hash functions are not supported -- Operation not > supported. > +Generic flow API (rte_flow) has been actually defined to include RSS, > +but till now, RSS is out of rte_flow. It was suggested to move existing > +RSS to rte_flow. This can be better for users, and may save effort for > +CPK development. RSS enabling: now, rte_flow API enabling RSS is > +support on igb/ixgbe/i40e. RSS input set changing: now, rte flow API > +RSS input set is support on i40e. > + > +Notes: non-default RSS hash functions are not supported -- Operation > +not supported. >=20 > Prerequisites > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -111,7 +114,7 @@ Test case: disable and enable rss > All the packets are distributed to all the four queues. >=20 > Notes: the default RSS functions are different among several NICs. > -here shows the printing of NIC with i40e driver. > +Here shows the printing of NIC with i40e driver. >=20 > Test case: enable ipv4-udp rss > =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 > @@ -267,6 +270,7 @@ Test case: set key and key_len > =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 > Only i40e support key and key_len setting. > + > 1. Start the testpmd:: >=20 > ./testpmd -c 1ffff -n 4 -- -i --nb-cores=3D8 --rxq=3D4 --txq=3D4 > --port-topology=3Dchained @@ -349,7 +353,7 @@ Only i40e support key and > key_len setting. > pkt5 is distributed to queue 0. >=20 > Test case: Flow directory rule and RSS rule combination > -=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=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=3D= =3D=3D=3D=3D=3D=3D >=20 > 1. Start the testpmd:: >=20 > diff --git a/test_plans/runtime_queue_number_test_plan.rst > b/test_plans/runtime_queue_number_test_plan.rst > index e1e9bc0..30eb073 100644 > --- a/test_plans/runtime_queue_number_test_plan.rst > +++ b/test_plans/runtime_queue_number_test_plan.rst > @@ -290,7 +290,7 @@ Test case: VF max queue number when VF bound to > kernel driver > number is 1/4/8/16. >=20 > Test case: set VF max queue number with max VFs on one PF port > -=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=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=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D >=20 > 1. Set up max VFs from one PF with DPDK driver > Create 32 vfs on four ports fortville NIC:: > diff --git a/test_plans/short_live_test_plan.rst > b/test_plans/short_live_test_plan.rst > old mode 100755 > new mode 100644 > diff --git a/test_plans/vf_macfilter_test_plan.rst > b/test_plans/vf_macfilter_test_plan.rst > index a971ba0..6f07f28 100644 > --- a/test_plans/vf_macfilter_test_plan.rst > +++ b/test_plans/vf_macfilter_test_plan.rst > @@ -289,6 +289,7 @@ Test Case 3: > test_dpdk_2pf_2vf_1vm_mac_add_filter > 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. > + > 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.8.3.1