From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97320A034F; Mon, 22 Feb 2021 06:15:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 292AA22A2F8; Mon, 22 Feb 2021 06:15:12 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 5CEDA22A2AA for ; Mon, 22 Feb 2021 06:15:10 +0100 (CET) IronPort-SDR: kHTWC9R/5u1TqlZ2b5+G24qzvjeixnSw9tw4zW+WYvYyKuRjP58g8VJvLwPalvKCn/TScNHvaw SsnUVxx//MEw== X-IronPort-AV: E=McAfee;i="6000,8403,9902"; a="164171252" X-IronPort-AV: E=Sophos;i="5.81,196,1610438400"; d="scan'208";a="164171252" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2021 21:15:09 -0800 IronPort-SDR: vgj4F8XJmE0tDEUScT+NooUq4Ndy0b313gpgTl+3cxpiDxtZJou9Y4Tjq8XYyH4n5qgqSN8cOk FjscFZN4kxyA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,196,1610438400"; d="scan'208";a="402871467" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga007.jf.intel.com with ESMTP; 21 Feb 2021 21:15:08 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Sun, 21 Feb 2021 21:15:08 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Sun, 21 Feb 2021 21:15:08 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Sun, 21 Feb 2021 21:15:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HokANoo0AGwb0R3BSdiLlzraWwUlVZXKc59FY3f23JkiMeUY97MUm3Y35DfSsNGJzcEuIlIHM47Gwz7BbrT97YVIK7hCcQEmBRTZCLtnlaO3RlFRPpWkIyCLrdONwdicdUx9+8Fc8g2Kx0fvC5SZXtBbsRI7BYwEviUdHCEndi6AkmW4dGR3TMdJEW9fyHGT9V5XeeOccllOZGzoRKSxi0SPY6fHuiaAPKb6lT5Zsb1yrK31swJwUjeji54R02+F9B+AZjStkkw5WM5XGrZAohho91YI1wX96W71OXIEPOH6lAc/SR15Vpic37M2jYyIStBhXrIqSBaAFmGFJx69FA== 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=doa/Ao+0Sr6crQ3zmaIiteNPk0G8LItzxHpR6vSH/LI=; b=ZM9bavSVmC4n6uq4IkLwMNKBLg6ERoHuIN7D3SSHnsUFrFbM+1atoQHME00zKbXdfRXf5aQDF0XDAdjwOEsHLEjVy7WwVb9Gbs+cRCdFks9N0+vRzSordZMYThtx1AIUPZwcNAQN5syBMXcwDD/4sQXcqGUl9HSM8zyv9SI545fvcKxstWeijFCiY1vRQctlQVTdqlkdXt/2K7eD4v9IZGzlr2hrfEwJUFreY2NS/yRPe8hZ2YryQMG3tn/NvI1PpqyJWDMQIUvu0QDINdM4z1Q+Aa3FnnUguxCs2PeG4YWTOo4VzYaLKD3s15Id3Q/TL25f7wI5COfoJqo+8m9Dig== 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=doa/Ao+0Sr6crQ3zmaIiteNPk0G8LItzxHpR6vSH/LI=; b=mbhXCQ5pRTScgrU9bSzpEYLNDrdxvQA1oNEIksnhUncv/zL+EakgfgnDquDXbH8Te5iIN9kCh4hIL4ikqtgzEJbObd3gsOQWAh/rNqrT04L2zNYgdgsRbZPh2L4+SSfqu7mF64mc8V1pvBgyF+2O3MXhUiTXjXDceEwZKLIPTIc= Received: from CY4PR11MB1750.namprd11.prod.outlook.com (2603:10b6:903:126::8) by CY4PR1101MB2184.namprd11.prod.outlook.com (2603:10b6:910:24::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.29; Mon, 22 Feb 2021 05:15:06 +0000 Received: from CY4PR11MB1750.namprd11.prod.outlook.com ([fe80::8fd:c082:f2bc:f6ae]) by CY4PR11MB1750.namprd11.prod.outlook.com ([fe80::8fd:c082:f2bc:f6ae%12]) with mapi id 15.20.3868.033; Mon, 22 Feb 2021 05:15:05 +0000 From: "Li, Xiaoyun" To: Lance Richardson CC: "dev@dpdk.org" , "Yigit, Ferruh" Thread-Topic: [PATCH 21.05 v3] app/testpmd: display rxq desc used count Thread-Index: AQHXAYWSTQj7ZK+JPUWN0dnYTFDsc6pjr+Zg Date: Mon, 22 Feb 2021 05:15:05 +0000 Message-ID: References: <20210211194434.172212-1-lance.richardson@broadcom.com> <20210212212452.200471-1-lance.richardson@broadcom.com> In-Reply-To: <20210212212452.200471-1-lance.richardson@broadcom.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f2dd824f-b1ef-4dd2-1077-08d8d6f0d0fe x-ms-traffictypediagnostic: CY4PR1101MB2184: 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:1332; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5EBNzk/SfdRygWyoKQis1PQ1SXsRbZlKj6VD2fIM7MdkdVwuOUz7GBgNyjUo31Vg8luX8OAbDvkpUx16rCqAWPdnFlmr7Ein70iAJme8Vy1B4ynP96qb0fYqQ5vkB+rH1y9rjUvwi+YYjcdIsDCAQaF6CXhE3fckDTRTxpxFaV/XqsEYl0uxk00EzlT9AMYerhP9vKcAqIDKXYgEJw4tGxnx+SwDaN6s/Gq2DcHY0xPIpnH4bPfOTOmlVCbXckSi95fezaGTtUnU7mD1BEsNZ1QkPoDpB5WEF89PLilBFwyrfp+NYFZd+1dom+zd2pxpsB/0TJ+/hB2mvq1f9f5YpkfBSO54BOLKvuilrpJHKG7/s1Y6eleWy+a/qg93pvueaTZTCJq8C3Vrsyp56p4drsZhlFkq8fr1CWi+seaR/WGbtvVOh5OjGqv6xMP80Xv5ITxal1ohDHc/X4IanLAhkfUL5OP9buJgZGCkpr+l8Qm4pyN+4bTWMbPmsPlQ2g2Ea1LHRdPdQkavEJ+XayK4fw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1750.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39860400002)(346002)(366004)(376002)(396003)(186003)(26005)(6506007)(52536014)(2906002)(107886003)(9686003)(55016002)(6916009)(316002)(4326008)(71200400001)(54906003)(86362001)(83380400001)(478600001)(7696005)(64756008)(66946007)(66556008)(8676002)(76116006)(33656002)(66476007)(66446008)(8936002)(5660300002)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?jGsDLulfFkSlIoyL8cZfN0kEaFKpvhxoRxX0NPRtXYaU/sAGsec9G+HgZIbK?= =?us-ascii?Q?5AzTjmhqiA2tyepBWj8mRwuQ+fqfO+IxJHRgHCvZxG3xLd/feSrIk4H9cbWV?= =?us-ascii?Q?dWSDjuaB2vURbEiu8Q8P8+D6eiM0N1/W2hoHAibtV1Du4RqA0Z+fxsDWAqE0?= =?us-ascii?Q?lEqKhKLw1IoR6AaA+qJF9HYaa0l3NqbBD7+i0vuD1W82eBjgN11SIUiqERbo?= =?us-ascii?Q?1Ty4Kko1rR1vhVIft2LMZUXMb8RY4iJpUkSEr1ku8/o1Jfd6kRu5ojMZTBCo?= =?us-ascii?Q?Pbc8GPEA64hujNH14PZHqADu5gFRf/9VBeiJLzgTnfd0PkJTDDof6tZsR9Sf?= =?us-ascii?Q?oOEjvOynKTKSANCoVzs6kyvdWvqD8BoJMLRyNpgWXsylAS2wRA9dwpZ79n6w?= =?us-ascii?Q?xNyhkOaFnKYCIeVw1XpKGZlZEQ+oc9i1mdF5BoUljaJxMGvQ9abhvdgGYkSO?= =?us-ascii?Q?jD/j0Ab4e0PMbNIL9RuOpxtPVA0xuTU+JvzZ+bW5mBzFKUGDHQLpDa/T4f+q?= =?us-ascii?Q?QhRCjtqqdQBbmEux7UEf94NyEgQq5bC94bS+HeSLpJrYeMoWfWqmwhEMnzvH?= =?us-ascii?Q?L4XzX5UXwiO+kUXdr8NMw/fEZQEnJu0EFlWK7WxnZoBlKRjbpY7FpeRO1fSr?= =?us-ascii?Q?Z8xnb4R2c4tWI8T/3lTqsHdXEeFYmdxumobGVW+InAGLMwyANIv0TilPddPP?= =?us-ascii?Q?+TICad+zp3LI7zGV7Na6HicocAqDKbmVlmVquY1atXqdGBvbP8EALhYV5fCP?= =?us-ascii?Q?a0Yzii4NYLVq67SjP5tP2GpSRW8DBBBcmG3DFYF9pnz5+0wq14521lf00DJ2?= =?us-ascii?Q?/u26qhpmK+VvC7LKuaSlLKKkwcbs+prw+IbouM4dWOYK9pk4H7q8Pmf301dp?= =?us-ascii?Q?UoIk3ysEAakii8FgnxE0Q+MJvOiFdcfb+stpR6leUFT89STkTUmyifRis57t?= =?us-ascii?Q?k/YMVpGN68GkTbXu7yRGzYw9raMMtCAH+4kk2WSgRfbfhCY9duYIpT8snNx1?= =?us-ascii?Q?zgPojW3B5DrkMqH0aXOCF0AzhTcQgDCb0DjZtDKnTlWq1R4EsMjVP6571os3?= =?us-ascii?Q?Gxx3oip8ET4pS3tj/zsiAkUKOYK1fJOt1gC2/OqeC6Klvc6dt7o7SdTkqBQO?= =?us-ascii?Q?STfMlrL4USy5ftlff2DRDbH6cqmEslzQAVK0XSrjXwEN9dgQVZjWZVJAqeR9?= =?us-ascii?Q?D00hQPLbynw9H77q0OlA100qJEFHr2p2jh4Af1vkbzVW7aYP+XB8v/3GB9CH?= =?us-ascii?Q?hIYW3kwC8FnBsvYbmjXM7jEQpfeqB6qOXhp9UpZSTdoYD7ArIKpGEy/c4yp9?= =?us-ascii?Q?MzF8j+Bw/4B95KI9aVTvzB24?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1750.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2dd824f-b1ef-4dd2-1077-08d8d6f0d0fe X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2021 05:15:05.8642 (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: uuMhMzek69CAJY1oOPvlvbuPqojVHHOY911TIjoIJ+20CrNA1Ky0D6lfOZqZVT9rDP3rBbP3Mn8pgR7WuMj+Hw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2184 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 21.05 v3] app/testpmd: display rxq desc used count X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: Lance Richardson > Sent: Saturday, February 13, 2021 05:25 > To: Li, Xiaoyun > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: [PATCH 21.05 v3] app/testpmd: display rxq desc used count >=20 > Add support for displaying the count of used (filled by hardware > but not yet processed by the driver) descriptors on a receive > queue in order to allow the rte_eth_dev rx_queue_count() API to > be exercised and tested. >=20 > Signed-off-by: Lance Richardson > --- > v3: > - Made terminology more consistent betwen commit log, title, and > documentation text. > - Added long help text for new command. >=20 > v2: > - Changed command syntax from "show port <> rxq <> count" to > "show port <> rxq <> desc used count". > - Expanded description to clarify the meaning of the displayed > descriptor count. > - Fixed header line length. >=20 > app/test-pmd/cmdline.c | 87 +++++++++++++++++++++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 ++ > 2 files changed, 94 insertions(+) >=20 Acked-by: Xiaoyun Li