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 CEFEFA034F; Fri, 10 Sep 2021 09:39:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBB904068C; Fri, 10 Sep 2021 09:39:06 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 096154067E for ; Fri, 10 Sep 2021 09:39:03 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10102"; a="208126538" X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="208126538" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2021 00:39:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="696991856" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 10 Sep 2021 00:39:02 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 10 Sep 2021 00:39:02 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 10 Sep 2021 00:39:02 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.44) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 10 Sep 2021 00:39:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eHkGu2vV2/FTV0CurrEIp21hk/YWcCGqOmicHrkIpZ2b4TYCWzDTv7GxThdcC/nVxVQouicXAxS4VnJC6V/eTUxrnRcgKfvUdCkTF+semxSVW2x20OSluzVev/HsQdQjaKqe7Ro1mnVTE0zVBCt+Xe6WIdZgM1UibwgJJ2M0amb50Cpz7smmPC0n5O1HgCal2XyryDa13QM7C+sNup7kBf3+h2McmOzSVLl8o8ulOD8sUmb0EXQ/HusoAOjTsJPgqW5IHkXT1e+4uaT41hJsLTsPCZyAYb0kV8Qsc+FwvE1QaZ07keCk5YkkHeELDmuxgXBNgkTV9n2SKKDQpvE3Ig== 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; bh=xo1anqaewUm3JiwQpZx23YFuZi4stHQVL9iygM93+U0=; b=CXYptk1QZitSnx4zOZ2ZVwDTg6Td6nsEHmKoGDVBaXSyTfiPNLMu7j9hwhy+soRa9yuPVIkwdCpoJ0lv2EaE00XQPgEeZYZj65Thu/OJRP/kQ1qM2/oPyINtaj8gPCcg/uPL3lW/7byXnowMe05IdMEqatQErTFn0hBP6h3aLfSQKBhNqu51Sc95IxcdKdZ7X2UJ4eEao/GpKaBC6b244d6UwVrdIhcWjjXT88N6GdFRMeeRwsdrBI4wnqtpTwh3VWgNIHkPINbIdY+fx+i9o9mp8nsm3SwKAbKm/g3sVq5FlVnY3k7HLoCu+4KqRgEy0nY+7K5dcHoH4LD2CLLQCg== 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=xo1anqaewUm3JiwQpZx23YFuZi4stHQVL9iygM93+U0=; b=S0pdksmmj6hLR2eNzz5zVMub53PU3hrPkqOQimsxHG9yWeyjO4lrT3sUH/wnWUJp4t0ATvMOfnTaKM/MirMaPx+wr7S8nOqqcwtp0gkA7evI4mTjRPYR5YUfgjcpJrBAYJ6F2LVbNZQb0bJAKZrYiozIoFj8teq/dkvSpDdoO5g= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM5PR11MB0010.namprd11.prod.outlook.com (2603:10b6:4:6c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.25; Fri, 10 Sep 2021 07:38:59 +0000 Received: from DM6PR11MB3771.namprd11.prod.outlook.com ([fe80::ac5b:17ce:f5a5:4ee]) by DM6PR11MB3771.namprd11.prod.outlook.com ([fe80::ac5b:17ce:f5a5:4ee%5]) with mapi id 15.20.4500.017; Fri, 10 Sep 2021 07:38:59 +0000 From: "Yang, YvonneX" To: "Ma, WenwuX" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Jiang, Cheng1" , "Hu, Jiayu" , "Pai G, Sunil" Thread-Topic: [PATCH 3/4] examples/vhost: use a new API to query remaining ring space Thread-Index: AQHXov0TGdS5FrftakyHKft8c/9UWquc579A Date: Fri, 10 Sep 2021 07:38:59 +0000 Message-ID: References: <20210906204837.112466-1-wenwux.ma@intel.com> <20210906204837.112466-4-wenwux.ma@intel.com> In-Reply-To: <20210906204837.112466-4-wenwux.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86650836-e43f-484f-b3a8-08d9742e0d6f x-ms-traffictypediagnostic: DM5PR11MB0010: 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:2000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PVTsykHj9FvgFHsut/MYVEZuZrPtTms3DiR7uNYQB6fYsCEK3+srEK4sA1+ahyT/gsBZVhHbyKysDg8pob5JP+K4Dcd6a89eWAAScPIX3Y41DXxE1zFMX/apm7g7TGkiJmGtV5Geog/oOc9K13xtbz34AR9dzxivTkVu14Ky1zbikPboGLu6V1pEdCYhBcz4B/OxDqeU2DYqsbKlf/+JEYZxzQs1sXaNB0y02GitePeif7grBwQ60fzAEqVM+QyqrFvG8lGFcbZKdUf69GYXoismziQkiXCW3w95RgZ5slWHuh+uqaY9cOGfzCTQy0+eaR+Iei1ANheat0gdIvxfcVJN63xowE9vgVCLs6zLopoWahjj9ObArEKr8xXVZIkFlVmX8ae1jJPmymToE5Vzy6E2Gi0fNl1OEciu5tC+lgKUsckEvNc6gPH38ui0QMyyepfI17tkdiMkVNznCyKc3cnGvY7hWPIxzoB/YkQ2J9eYiou6A0EZ1SBMpkBTjnZ46Vha3Huv788s6MAPvOQafdsFxj+AG9CGkfYyYhZ+/QVvRJ1O8ifHv1wm6l/XC+2c7IqOoON6m4h1kpVVQaEQMPR+WChNq3Jt4CCQGUZTBA0JTybS86GS9cmJdaFTfkPV9BAHGFzS7oBjnwKY3HkITu4hSJqQewp2fLOfkR/dNjE4/owAGYFAwAyy9BDAS9+zTL94jzgVYQesP7rvmdXpng== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3771.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(396003)(376002)(136003)(366004)(346002)(8676002)(64756008)(66556008)(66946007)(186003)(55016002)(66446008)(107886003)(33656002)(66476007)(54906003)(122000001)(26005)(38100700002)(4744005)(5660300002)(52536014)(478600001)(8936002)(76116006)(110136005)(53546011)(38070700005)(316002)(6506007)(71200400001)(86362001)(4326008)(7696005)(9686003)(83380400001)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hwhxV555qcKk2MVv1x20T6ico09PSw3JWICNKBVxoLG2iNZp6Et7HAwQJVnT?= =?us-ascii?Q?3wIjioRwheHB/NUC8/lT/2d91m2l71iF4DkI8pjnsMd6ahU+9sJ4wnEv2XcT?= =?us-ascii?Q?rF1+/jhg62gOijytHhU2w6kA2HQdEs0fRWUOF/hf5aBMqErOTrf1qz+iwdxu?= =?us-ascii?Q?RDYTq0q/yzZ/UkT07LwXhxblca9RXsj597C2A0F62gF8jLbUOD5dA9ZeDcfy?= =?us-ascii?Q?FA4FbUfh6XD9Lgud6keVAHnP+hzi+drcudDfXJ2ri9IvRHvh0I8CXm6ikFv5?= =?us-ascii?Q?Kwm/ZA2AWWS3ZgrohpEYjNx9sYJp1oTYE6BjiLNRhkttI2i4H1vWa9G8N5Vm?= =?us-ascii?Q?626hKteUpHUOVpYNHWF/7CG7PTr9kuY4JvL99NgYytvIUy95SUdPIavcR9QF?= =?us-ascii?Q?Q5evFBjtAw3M+JcaXpiB6860Mgw+RB+usgQFT9Xp2NYdZUi4EtDY924WStrz?= =?us-ascii?Q?MVsZ2RfehLk4WUHm2FvUbGBEXFJ3yLMIUCptn2glvOweEAw8yHaWfA5ewKH+?= =?us-ascii?Q?rTwGGcuxqqB9Ty+43eZuvp62mUjjSot6i2cGMmIP0bi5fMt21BiWjKgJFFeb?= =?us-ascii?Q?If1d3tInNf/U/8g04UufcJRLT7Bl4YGlmWfEWYYG9QlBpHFVWXj/RRWDivUi?= =?us-ascii?Q?kMFDrcGnYoUrefljOPFK+NAHUDgrCxs2kBagWaik7jeLUaDhnlMmBPd4rnaW?= =?us-ascii?Q?TyhpWNWsbyJcqaVmW5XVAd1Sxw36qSWaS4rkY6Re4bzm6OAqCSZ2jE72cumC?= =?us-ascii?Q?3yUcV2U9xyDhMo3B6XSSxMmso1w1ZR8kpghPiGou9qZqrfDflaQ0N2Y6tLMX?= =?us-ascii?Q?9/U4RVT3WA/UunHB/nAaGMLtcQl1SysSyy5nWlIU1r0ZWycVeaGWtXcfKtsD?= =?us-ascii?Q?WhPLHt2AbMKnfVHrkUFyZUnCAALa0s8S0Mf1yNe1s8wTTyu7f8O6yjhzGsRf?= =?us-ascii?Q?AxXQnJIWg/apHKpKR881AHv4Km4Vopabc1ok8NI5lZHBXfnU8AoNPJ4m7ooA?= =?us-ascii?Q?Dw1FVjGItlOFvC6tcRhi0mBLwcdWeVA/2HOSgI3rfzmn0RnvVYG2iQiH8Y6B?= =?us-ascii?Q?06kqduk9MGC9Nsv8YQl7guD3zhKHk8/qFpS4jpjQ6UYrY++z0wA6fE/qa4Nj?= =?us-ascii?Q?deLCn+D6Cmxr3mqsgf4UxVFwi9+4neIk4j2bKXdHliMbtziirpi1dopZ+9LY?= =?us-ascii?Q?uCbaPXTK/pEtI1wtCJr/U24jnN/aPXsSzb+Q+zfmGsJ48QwizHOFOHI3WEbr?= =?us-ascii?Q?5DYUOGCPhey0qE4KCG8a40/HCE4Hi6s3C2RnBHDJgSLA0eqxcwR616HTIgX3?= =?us-ascii?Q?tAf+xfWC28gGyskP3V+bwp5U?= 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: DM6PR11MB3771.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86650836-e43f-484f-b3a8-08d9742e0d6f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2021 07:38:59.0938 (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: MYtgJWK3TM5N4TOrxc3KN3akg9XF/HvBh4IFaWNjmLtaVkYSEPKj1x9GULZSBGo8mAgALCfj9hycoOlI3iK51w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB0010 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/4] examples/vhost: use a new API to query remaining ring space 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: Ma, WenwuX > Sent: Tuesday, September 7, 2021 4:49 AM > To: dev@dpdk.org > Cc: maxime.coquelin@redhat.com; Xia, Chenbo ; > Jiang, Cheng1 ; Hu, Jiayu ; > Pai G, Sunil ; Yang, YvonneX > ; Ma, WenwuX > Subject: [PATCH 3/4] examples/vhost: use a new API to query remaining rin= g > space >=20 > A new API for querying the remaining descriptor ring capacity is availabl= e, so > we use the new one instead of the old one. >=20 > Signed-off-by: Wenwu Ma > Reviewed-by: Maxime Coquelin > --- > examples/vhost/ioat.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) >=20 Tested-by: Yvonne Yang