From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E8A87A0350; Thu, 7 May 2020 16:43:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 746551DCCB; Thu, 7 May 2020 16:43:28 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E23331DCBF for ; Thu, 7 May 2020 16:43:25 +0200 (CEST) IronPort-SDR: 6PcwqLljNbZF+XidNpTXniJpkHYA4sQ9+ersX3Xm+5HQImjzU7viBhuXR/QxsjMNF6ks98d8ct hZm7msObZ82w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 07:43:24 -0700 IronPort-SDR: 5kb1/TL2LrWtX42AXzqthkqcAUwENsLWsmQAoIHZ5xrN4u0vtS8VM+bPtMseC9c0Vws7yk63Wy TDEAnzHVjUPg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,364,1583222400"; d="scan'208";a="249305288" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 07 May 2020 07:43:24 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 07:43:24 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 07:43:23 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 07:43:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DRFMZ6aOqzUnj1707nkJ8x2RU8/f+Hlc2rdkQ00qGBdzygz3sDvdmLLls2l6pQp9U18I5yN79q2FYYKVz1E2s527lZKV/+7DJlAzUMFPbWuKWg3Gka293fJfBRNaTyUACjKJxq+42T04WG3R6vVBgz6KKpRC9/VV4UjIQbkcgKjHrp/KhSSRlCRhxnX8wDneN4YQVvSgmG7A7jm/ThsH9aiI526bl/RM+sO8GYHg+dYDyvQjDFcIfPt5ffZzJwCIgI8gZC7yTB1LrYJsl0B9bXR9FMEZ9IDZT32iWSIs/3LPA/dzOiAjcaRrHDsbINqkQ4b9ZiiH1hNUN246GESvaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8zUYd23OB8p1g3Nt24kRQ3KzUW/HZuM9WX+fsDRMiL4=; b=MBchFGKggnKllNSp4S1ZrQrBj4ai9rFzco0lFGDSzK7CS2GLJCmEMWFK1i8VktSbCnrxMDKwloOyylQ2NW7GJyKw7PpA87tyZ9fWp0n08BsUQq93Meq5m0d9jPqEVX8VnR2mE9N3Tt2X2v+0nwWI30Wyo07ehIvaXAPPhRIK5ryfSCcfsrCOmDvOLT6uBUFmN7ANVOq7rq8mmJ4QYa/iqUgZi10jAY5AzWBmPVDuK0kxRSV66sFvSa/dcUtqsCq4TmR7oqUG7pOpq/Boncm0NuJEM6BQXOqNpRap2yv2nsHJsWCv4IKReR1lnps7gtnyIzfy79ug6f26s9//3Pee7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8zUYd23OB8p1g3Nt24kRQ3KzUW/HZuM9WX+fsDRMiL4=; b=lz2Y5AubwgNTPq5Qrw7dxA6rlPqZS5mVWJLtuihCA8MMhtCc4bficWN+BnPm13zVg9Y6hTwih1carhhA1F/a7Q5RYgkCDA5Zc4OojgbdSqLO/UctaIHCXeFsF3pj69vTlc14cFras9Tj+jOJv4fKSNILo90aF4ZoVOs3ApEEXA0= Received: from DM6PR11MB2537.namprd11.prod.outlook.com (2603:10b6:5:cd::16) by DM6PR11MB2938.namprd11.prod.outlook.com (2603:10b6:5:64::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Thu, 7 May 2020 14:42:59 +0000 Received: from DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa]) by DM6PR11MB2537.namprd11.prod.outlook.com ([fe80::7c08:b4ae:e9c2:a4fa%6]) with mapi id 15.20.2958.034; Thu, 7 May 2020 14:42:59 +0000 From: "Iremonger, Bernard" To: Dharmik Thakkar , "Lu, Wenzhuo" , "Wu, Jingjing" , "Mcnamara, John" , "Kovacevic, Marko" CC: "dev@dpdk.org" , "nd@arm.com" Thread-Topic: [PATCH 4/5] doc: include config options in testpmd user guide Thread-Index: AQHWI/Gw1JZZCRcptU6mb8EmXreVuaicsr+g Date: Thu, 7 May 2020 14:42:59 +0000 Message-ID: References: <20200506215847.7628-1-dharmik.thakkar@arm.com> <20200506215847.7628-4-dharmik.thakkar@arm.com> In-Reply-To: <20200506215847.7628-4-dharmik.thakkar@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.188] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 27dca53c-5a24-4919-90f6-08d7f294f046 x-ms-traffictypediagnostic: DM6PR11MB2938: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 03965EFC76 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WlcNkw80mFR9np0AVPeJ/Ra6haBAuKRGrROfsnjbC3teQyZLjL4CHn6nHv2ccoNJXWQXG8ptLVRSqIgTCrXOCRPhwU0KG4Sf2cVXDXktwUxlkBPf+1y1qR0w0ug8R/edlx+94A5keVv7d8j9w944kj0kmIuBabnAcYdCvp62CTgeLkrCcg3JyB+Vrudco174fU7xVIea6q1/dicOGnQTPVoaiOn7PyY9uVSTNRCdyZD/Z32SYNCPNeoYTjxZb7vQm3uIGhzx0SgueUTZl2lmXvEH1nxTeTqKlqKgD1VGGltFRG63h0Zn/a7AiP1eZau4NK7xyuqVkbyS6qm+otTwalNg2KD14CycIzdgqM8Z5WQGUxlxreaGcAPF7w6jH8KWzKcB4XzQz644i6vfADuAaSIhdqIKgrC9dGWZ8F0I7UwyNXgOjjAHjKwfhX7GKQEXvWjxlpZq+OTPYpvoM9B2sSwnFpGLrl9YCvFFe61ouuZtnGuqbmIS3PcFcv0zS5ZkEmjd4eO8SRoGNqKQ/NGU/w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2537.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(136003)(396003)(346002)(376002)(39860400002)(33430700001)(71200400001)(186003)(66476007)(7696005)(26005)(66556008)(6506007)(52536014)(76116006)(66446008)(9686003)(66946007)(55016002)(2906002)(64756008)(478600001)(33440700001)(53546011)(33656002)(8676002)(6636002)(110136005)(86362001)(54906003)(4326008)(8936002)(5660300002)(83320400001)(83280400001)(83310400001)(83290400001)(316002)(83300400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: nOT/x2gNpWgyB5tWWL3X/H69sUelSz4fPtLdEm4rsTiV2r9aTwPMPbx12Y8f3zInnYut6bE6vwrTVj8RRSPPRoQALRp2zrI9OY3fH4mw92WtQLvk+OdZH6a6j/YxArISOZTBmvNCw1uibfiTEzzwg+m/noNPWtRDu0nDfGxvstbBuqEPRcDXtvYBdmLMz7TiIcoW4j8iXy1x00k1P3+JakyWPYYlcZs6gRtzBNI7DiLKs0hxML2YVHZy64L8ugO7H7ryALNxqa8kg5eg/Br2bKabU5pPpUEGBrlzpxAS4WyswJ6z/whECmzj990iywj0We78N2aQz2gtIvN7T0zFga+lrWybSGrXkL8/fIsYaQwB+pCCUsvwFYgwghQpouSgeHI1Ge3Pl/0pWIOcycU3DLKYEtwyS+fA+gQjhi62FlIe77Dv6JHFRCjiP83YDUyI8/RHIu29n35hRmxW2plIsDt3v5PvXEsebKvfraKWqxfYXONkOj4NPkTT2fIWcdu641uMEgYHpi0dn81s47IcWTH5iJtnvBRJY7Cc2xSB+woFL94ejQcPm3ZalXG+mUKim2fx9yG86BXJkB7lKldzKfWC/czPsyaOeGgWgo34j2A/v6sVghlThh6Wl96KMc2OVTuszxO/1GBzrSimI099QKaaCH8kLfgiW9VZ27goJDT3OKcJa0h8qXmzKb8ToXd/dAlLzkQvo2hRl+3UBmq2LUfG8LjeJgPPTbrLfGMdw8SrSOdcKfVdIFWAbQ5RCuc1Qgw2UxNRr0Kk3k11Ynwry3uuCcJxBEIiqXWdX5WRu5okV7u6qBp3ERAL8EOIwkWO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 27dca53c-5a24-4919-90f6-08d7f294f046 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2020 14:42:59.5453 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gHb00U+BwfCYC3DID38Llx40nVfdPZCOcQOiBRsgFeA9HFOFNrKs9S2ggg6y129MuGiG0sXhAfT9H5Z2QnbRfvy/Enfj2wMzHkD+Fjr7BXc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2938 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 4/5] doc: include config options in testpmd user guide X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Dharmik, > -----Original Message----- > From: Dharmik Thakkar > Sent: Wednesday, May 6, 2020 10:59 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard > ; Mcnamara, John > ; Kovacevic, Marko > > Cc: dev@dpdk.org; nd@arm.com; Dharmik Thakkar > > Subject: [PATCH 4/5] doc: include config options in testpmd user guide >=20 > Update testpmd documentation to include RECORD configuration options, > CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES and > CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS. >=20 > Signed-off-by: Dharmik Thakkar > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Phil Yang > --- > doc/guides/testpmd_app_ug/build_app.rst | 12 ++++++++++++ > 1 file changed, 12 insertions(+) >=20 > diff --git a/doc/guides/testpmd_app_ug/build_app.rst > b/doc/guides/testpmd_app_ug/build_app.rst > index d1ca9f3d19a9..caebb33849e3 100644 > --- a/doc/guides/testpmd_app_ug/build_app.rst > +++ b/doc/guides/testpmd_app_ug/build_app.rst > @@ -21,6 +21,18 @@ The basic compilation steps are: >=20 > export RTE_TARGET=3Dx86_64-native-linux-gcc >=20 > +##. If required, enable configuration options. For example: ##. Should be #. > + > + .. code-block:: console > + > + cd to the top-level DPDK directory > + sed -i 's,\(CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES\)=3Dn,\1=3Dy,= ' > config/common_base > + sed -i 's,\(CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS\)=3Dn,\1=3Dy,= ' > + config/common_base > + > + Enabling CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES enables > measurement of CPU cycles. > + > + Enabling CONFIG_RTE_TEST_PMD_RECORD_BURST_STATS enables > display of RX and TX bursts. > + > #. Build the application: >=20 > .. code-block:: console > -- > 2.20.1 Regards, Bernard.