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 99CE5A0096 for ; Thu, 14 Mar 2019 09:41:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 592792C28; Thu, 14 Mar 2019 09:41:28 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 07E2F3572 for ; Thu, 14 Mar 2019 09:41:25 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2019 01:41:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,477,1544515200"; d="scan'208";a="122585292" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga007.jf.intel.com with ESMTP; 14 Mar 2019 01:41:24 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Mar 2019 01:41:24 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Mar 2019 01:41:23 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.252]) with mapi id 14.03.0415.000; Thu, 14 Mar 2019 16:41:21 +0800 From: "Tu, Lijuan" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests Thread-Index: AQHU0wuEDrNGc3UVD0Kj+5HN234WQKYK2y6w Date: Thu, 14 Mar 2019 08:41:21 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA42CCE@SHSMSX101.ccr.corp.intel.com> References: <1551760172-19284-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1551760172-19284-1-git-send-email-shuaix.zhu@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmZjM2Y0NzUtZDkzMy00NGE4LThjOGItMDFhZWNlNDFkMDUyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibEFFaUpSQ1VTZFhzVUd0VVZNQ0J5V3diNm53RDhGa3piVUdmZUxHYW5mdm4wRGJTMkRBUEtXN3I1eGRwTGR6QSJ9 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 V2] test_plans/xstats_enhancements:add xstats_enhancements_test_plan.rst to tests 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" Hi shuai, Snice your tests are for Xstats Enhancements Feature , Could and the test p= lan link for Xstats? > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai > Sent: Tuesday, March 5, 2019 12:30 PM > To: dts@dpdk.org > Cc: Zhu, ShuaiX > Subject: [dts] [PATCH V2] test_plans/xstats_enhancements:add > xstats_enhancements_test_plan.rst to tests >=20 > Signed-off-by: zhu,shuai > --- > test_plans/xstats_enhancements_test_plan.rst | 61 ++++++++++++++++++++ > 1 file changed, 61 insertions(+) > create mode 100644 test_plans/xstats_enhancements_test_plan.rst >=20 > diff --git a/test_plans/xstats_enhancements_test_plan.rst > b/test_plans/xstats_enhancements_test_plan.rst > new file mode 100644 > index 0000000..72f15d9 > --- /dev/null > +++ b/test_plans/xstats_enhancements_test_plan.rst > @@ -0,0 +1,61 @@ > +.. Copyright (c) <2016>, Intel Corporation > + All rights reserved. > + > + Redistribution and use in source and binary forms, with or without > + modification, are permitted provided that the following conditions > + are met: > + > + - Redistributions of source code must retain the above copyright > + notice, this list of conditions and the following disclaimer. > + > + - Redistributions in binary form must reproduce the above copyright > + notice, this list of conditions and the following disclaimer in > + the documentation and/or other materials provided with the > + distribution. > + > + - Neither the name of Intel Corporation nor the names of its > + contributors may be used to endorse or promote products derived > + from this software without specific prior written permission. > + > + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND > CONTRIBUTORS > + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS > + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE > + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, > INDIRECT, > + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES > + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > OR > + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN > CONTRACT, > + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED > + OF THE POSSIBILITY OF SUCH DAMAGE. > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > +Xstats Enhancements Feature Tests > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > + > +XStats Enhancements improve the extended NIC stats API to use id value > +pairs instead of string value pairs. Remap stats registers to use > +standard interface MIB naming and sizing. > + > +------------------------------------------------------------ > +Test Case: Simple packet transfer forwarding test for xstats > +------------------------------------------------------------ > + > +1. create and mount hugepage:: > + echo 4096 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > + mount -t hugetlbfs hugetlbfs /mnt/huge > + > +2. Bind nic to DPDK:: > + ./usertools/dpdk_nic_bind.py -b igb_uio 0000:01:00.0 0000:01:00.1 > + > +3. start ethtool app:: > + ./example/ethtool > + > +4. set fwd and transmit packets. [Lijuan] which forward mode? Any requirement for the packets. > + > +5. make sure all packets could be received correct. [Lijuan] how to verify it's correct. > + > +6. check the xstats:: > + EthApp>xstats port_id > +Classically, if you select the right port, the queue stats of packet tra= nsfer will be > showed after the command. If the driver does not support xstats, you stil= l get > the non-driver queue stats. [Lijuan] Could you show some output here. > -- > 2.17.2