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 7E13EA0540; Mon, 22 Aug 2022 20:36:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1BC2D40DFD; Mon, 22 Aug 2022 20:36:03 +0200 (CEST) Received: from na01-obe.outbound.protection.outlook.com (mail-centralusazon11021027.outbound.protection.outlook.com [52.101.62.27]) by mails.dpdk.org (Postfix) with ESMTP id 7C99840694 for ; Mon, 22 Aug 2022 20:36:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gHtzLyNFcisRv4FAl5S8dEujMoilnAH/o6jOuU7eqZIVzCRLm6etypU4BEjNqTsWKqoWp8eHBWIpK4MEp84lRFVuyr8x8enhmRm0HGRYN+je2ouvtV1Ad6l7GQIcBfx8Itlv5A06MXaLMj5vH2vXhFcR3UQy5q4YdSmntX0fO0wJStLiBi3jP+dQBRYLIwuLlyxpUROUpJD7yOBLVjzQixVQYtKpUmWQd3+NE9CHzNU2dM/9QtUruttlJEcZAjKzE30C9xAYt+I9j9SFZx2xnS0sN9yIJk1jOAxFXwG0v30NgOWWLSvr2s+TJn/tNJBueIGIixT9u8NeB40Db0CPwA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=x1lnQ0GcSALh8+3wzs4njDqRNaz5o9MpOmnlPhw9CZw=; b=McNQhFX3XY5nR8Y35L9PgBAw6m9+e/ohCnC06IeQTPt7usj8FQdsp2bIjUwb+kMgdVCS9CSkoQf4JdLm+VUy7pODlzvZE7rHzUiU+lnt3fpCwhs7mdIhrxiafbutZSU284K+5qJkBSRlM8xifS3elcS8ibVWhoUpLCAM6LIxPDCCa9jZpONbu2wekKGvEdNOzA7/5/Jk2FqeJBYw4T5Eal13g5FK/HU8YLMvyDkzGkzWGWzKd/WykqKEH2nxGkZUI+YuuTwMVN4TtFKVWU6kqVBqXOuF/q6e9Yhr6v2H1yBzI8eVSSgkpE1R5MB3BJLmHqNNRPkkWS+Ej8utAxUTBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x1lnQ0GcSALh8+3wzs4njDqRNaz5o9MpOmnlPhw9CZw=; b=awHOnrYPZTC0q8YD1h9g9JLpEOCgD5c5k8lqZ97qKpZWtsifV0LeEtlIaLcp30fUQFoxLzsYTc6N0y2ib99wT1Rh/5NQYsxS7qnmvp/WOMyUQ13B9vQiCKB9X8i3lOrf9jGpWl42yyq41gnG2nVggM+pW+plnZtboQPNe9wW1bk= Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by PH0PR21MB2061.namprd21.prod.outlook.com (2603:10b6:510:b4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.2; Mon, 22 Aug 2022 18:35:59 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::3413:dfab:b903:a21a]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::3413:dfab:b903:a21a%6]) with mapi id 15.20.5588.002; Mon, 22 Aug 2022 18:35:59 +0000 From: Long Li To: Ferruh Yigit CC: "dev@dpdk.org" , Ajay Sharma , Stephen Hemminger Subject: RE: [Patch v4 17/17] net/mana: add function to report queue stats Thread-Topic: [Patch v4 17/17] net/mana: add function to report queue stats Thread-Index: AQHYkyVnRKKNx6iCEU2LoHTgPXK5+K27S8MAgAA54UA= Date: Mon, 22 Aug 2022 18:35:58 +0000 Message-ID: References: <1657324171-31369-1-git-send-email-longli@linuxonhyperv.com> <1657324171-31369-18-git-send-email-longli@linuxonhyperv.com> <9fc85998-0802-f1f4-fa97-86114a511e76@xilinx.com> In-Reply-To: <9fc85998-0802-f1f4-fa97-86114a511e76@xilinx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=160b3c93-fd56-4fd0-a83c-1c416e0ae595; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-08-22T18:35:34Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 85f4fcf5-427b-4a48-baf4-08da846d2866 x-ms-traffictypediagnostic: PH0PR21MB2061:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: U7xFr8Vq4ULVbhioae2X48j8Vi9CDfLxlB+1fE/dNirXLWvdeeHyUzSVxdv7BCPAxC17OQGS267BtGckRfqqzfKFqSMl1Ln8v95rGAZ5AEQ1gVCuxVgfsJZQtK7JRaL25Is6xtPBiT370Fla6g2GBLoAC43fmrQ+j06Xk9Vqh1Bsn7SsvtVexEwpKhg6eIJQvELrjantxC+lKFeWCOsVtULuAf717Ao3XJll/UjKM8KnWyv2v2bBkfmYmEU7mHzyqWi7XlbO5EKHCz+mACG9Kd22dFFb9YhHSFZJeuOHuNWKERm5HFNd9YV2n523jsltjFri/NsRE+gMbw5wH7i8fwLrx/K45PECWW5x/e9yg40FExfUkGpxLg/7l/lhOvip6qRViBC2ueWVTNt+mJ/9wmHZTRWsJMebbWFFovc+qqeBQHLFI4oueN6L+qUIlPJewI2qswdnIeCeT9PXejXB/CHK+V3HZeowIZWfarc3pU9r0bk+GjPAQ85RTccbJ/JjIljEWIb01ftH5I0fJd7d+H5z0oMH0X5fGhHcBWwLDSo0D90G2UTdlCrjB5ruw9XsTm5iudYvwWGndmF+b8ijAl6CSdezRDyaghaUhAlRBR2CfKvT3AdGK6F7+/BiAMI4/kUQY+ypxSn5wzlR0pSNJajYDMWFMvhwFGuomea6mYYHjoPfdyOjQxSffULBAFLAwsJcjUD0NFqu7sMv2u2i9QHObKTPL92or+0uAz0uDdhudi1ydRZ6wQw5WCjus9V+gVHajps7UjjYJf0sWKsT9t3qQV3pfINC9NXECEjmHcf8evMriFHDnwUuyID9Wj9Q x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR21MB3263.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(136003)(366004)(39860400002)(346002)(376002)(451199009)(66476007)(186003)(83380400001)(38070700005)(82950400001)(82960400001)(86362001)(38100700002)(122000001)(66946007)(76116006)(8936002)(4326008)(64756008)(8676002)(54906003)(316002)(5660300002)(2906002)(8990500004)(52536014)(55016003)(4744005)(9686003)(66556008)(478600001)(107886003)(26005)(53546011)(10290500003)(71200400001)(66446008)(6916009)(6506007)(33656002)(7696005)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SWlLdHhENFd1c094Yz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f-8?B?aDhZR2xicE0zOGlHaXpnR1ZreW80NFNvWW5jSVM5ZHAzeVkzdzRQS2dTbkY0?= =?utf-8?B?cDhTL1RlQkRZWDhBQXU4M0NNcGJqQTVvdlBYbTVPREZTejc1NWhlbFRsY2R1?= =?utf-8?B?QTB4ZlVGVXJWMWJYSHNVbURiWHByc040R2xXTWtnVHFaaW1lMEdIeXBtR00z?= =?utf-8?B?MWxNc0xlMGE5Tmk2OWJLeVZBMkFtVkVBbWttTkdPMm1ieUlMRVVHRUZVTU5Y?= =?utf-8?B?SHNGRTh2WmdoUHlUOVdueStyaWNjZU1vcUhOc0Q2aElwSzNMQXE1VXRFbFV1?= =?utf-8?Q?qL8RMTqGpkh3NDdU8stsmpFMR?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR21MB2061 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 PiBTdWJqZWN0OiBSZTogW1BhdGNoIHY0IDE3LzE3XSBuZXQvbWFuYTogYWRkIGZ1bmN0aW9uIHRv IHJlcG9ydCBxdWV1ZSBzdGF0cw0KPiANCj4gT24gNy85LzIwMjIgMTI6NDkgQU0sIGxvbmdsaUBs aW51eG9uaHlwZXJ2LmNvbSB3cm90ZToNCj4gPiBDQVVUSU9OOiBUaGlzIG1lc3NhZ2UgaGFzIG9y aWdpbmF0ZWQgZnJvbSBhbiBFeHRlcm5hbCBTb3VyY2UuIFBsZWFzZSB1c2UNCj4gcHJvcGVyIGp1 ZGdtZW50IGFuZCBjYXV0aW9uIHdoZW4gb3BlbmluZyBhdHRhY2htZW50cywgY2xpY2tpbmcgbGlu a3MsIG9yDQo+IHJlc3BvbmRpbmcgdG8gdGhpcyBlbWFpbC4NCj4gPg0K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