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 0EDAAA0C46; Thu, 23 Sep 2021 04:43:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92C33410D7; Thu, 23 Sep 2021 04:43:31 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id E1C3340E64 for ; Thu, 23 Sep 2021 04:43:29 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="223781663" X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="223781663" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 19:43:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="484807187" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 22 Sep 2021 19:43:28 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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; Wed, 22 Sep 2021 19:43:27 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 22 Sep 2021 19:43:27 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.47) 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; Wed, 22 Sep 2021 19:43:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sgke73g2L5DeMM9cLoqI/39oymqNn4G5Y5IKYfGf7Ez+InX8W6ne2QlR5774paQQX9GQ7/W7D5V/QltESEaUKMsoEOGF7Ku77SfOG9Jc/7xesg1Xh4X+Ly9eM0f0rznsI34RHi1J0SvODzKJmNh6XTBTbSblRrCqELKab/T7qoolo1eNS1y9gqW14jwmzb66If5hKARejt/L5s52bUfK1F8jgBUb+1Jk9UkCe63ysb/gQIwlZcLZJSo/e/DlHSfy9Miql5RBv3v/4fyst09tt6PKIPLClyf+L+OsONiwxSHgpulOSqjupTxBv6jh4v9prYgjRD5ToyM26eXQmobvmA== 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=Pnvs8h7h33a5xaUm2jgPprlY/lA8Pzsmi8cRPaV/Wdc=; b=Rl/so2CxGya6Juc77A4UcNdRnB6dLDOMH+sj14KfUW/JXw/EJOBlKwRqDlGTz5/tnziSmJ2u6J6RpMdWih+AiiYwHlyd/SPz1RvgbqjgDZ+CExUta6oYBfoYpZq4LFS6J4FSKve4w4hQyVlvzhRBJ/rdoc4iPWA2iAeBeUvNFQFTLQO/FwOOpyIUyOnZmw//La/wR41NestLotGl6M7BtNsokFwcE3wLDLXpJSkDdZndkpRxHazUjISubMxePpXU8nbYui9yfktJ9e+DR0NClBNsKS65n2Yyr1mf6TlVfB9O9GY+DeIP6v6YR404uPjU94DZSbvP3jIDm1L65eoZRQ== 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=Pnvs8h7h33a5xaUm2jgPprlY/lA8Pzsmi8cRPaV/Wdc=; b=ZdScBID8hrl6N7VSlLMWwXrrUQKTcO/CBTuUD8oTAJW9JQFLfRs3IKxmVpKOwCNLNF0b74/AdI32kErwJg1RlGiBU6w2LnpdDBfzAZmwJzLkGfsv6M5F7OyKbbK9KkZhSf5+VR+M70q+HR24BAQ0VV1kZ1RuBHtxfwIkYRViz9U= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM6PR11MB2763.namprd11.prod.outlook.com (2603:10b6:5:c6::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Thu, 23 Sep 2021 02:43:25 +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.4523.018; Thu, 23 Sep 2021 02:43:25 +0000 From: "Yang, YvonneX" To: "Wang, YuanX" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Hu, Jiayu" , "Ding, Xuan" , "Jiang, Cheng1" , "Ma, WenwuX" , "Pai G, Sunil" Thread-Topic: [PATCH v3 1/2] vhost: support to clear in-flight packets for async dequeue Thread-Index: AQHXr5FE7DHVy4zv50K1RyqiTy//fauw6ljQ Date: Thu, 23 Sep 2021 02:43:24 +0000 Message-ID: References: <20210909065807.812145-1-yuanx.wang@intel.com> <20210922085546.54758-1-yuanx.wang@intel.com> <20210922085546.54758-2-yuanx.wang@intel.com> In-Reply-To: <20210922085546.54758-2-yuanx.wang@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: fb9c18fb-69d2-4e44-1a25-08d97e3bea85 x-ms-traffictypediagnostic: DM6PR11MB2763: 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:3173; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hGedEM9JpqaR5yrPGpn/k4brlqvNQUTp2EkwXOKMaGZodp0NtcQ1ejFriop+7cI6boxmUf6+1xvc5xt7rOgz4s+jJuyUtedsG35rKVTTcSYNx3XMDCE5NodtBTWiGuAIBaedUhNbyAguqFUh1FTRFic4PNjIyBgPlv1B/tbUGmjRrCZvNnyek9ybFPUOfNDEpdIUFJPKXbinwZxahSdrwhjmpb/4f9wgYNHcE9Q6HGNPXGdg/IrqMfmCdlWYjdTFFuoFJrLVgSH0oCU1WiVtrxMRK5TgpZUMYtTBT8k+5KwGq/AVJ5wbPsJVUGG5vXyr2edUYfVt7pKBawuy9XRnDriSqYQlJCb33Rf+tClUG316BiOI2YxrsXneqdwPgI522TBYWo9fEAbTE+uRmh9qqCeNkOSBBErlHDY9a+dFk51KD0uxVCspKRFenHDz4qqQd6Mb7VS9zbnft2fstN8MUvMycibz42rOUpRSwS7cJq4RUdhnWeZWGZeATOA3sudFrWVo3pUBEnwpmd+GWxB82DGwD+JT9txYRXKdME/b11jXUPTN1IMGm6WWKU/DjMepFKNTROnimES3urS/qXOQOw2yyjzOwFzITtPYrQvBPAHkE1e+cmqIFbfzdP7MnPhsdmoEoBpctIyB3VXwHwubbNm2NIeid6GbdTKxDUq5G6FAXA1vhMQ7KGXoalY8gzR6VWF1u5+bcjlxHhtGwzrgDw== 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)(366004)(122000001)(7696005)(107886003)(508600001)(76116006)(4744005)(83380400001)(38100700002)(64756008)(66476007)(66946007)(8676002)(110136005)(4326008)(66556008)(8936002)(54906003)(86362001)(316002)(66446008)(2906002)(38070700005)(52536014)(55016002)(33656002)(6506007)(186003)(26005)(9686003)(53546011)(71200400001)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+24zaDAcoSKWrfYk1eXRzAWiWLFDyr8Yr/hqbfCzMDTr9bczzoOWxuy/PA5S?= =?us-ascii?Q?NDydPEbDALFCVbxWqiM78sOPSNMV+9E/J5MifX5XneBIVSBD48Vwu/aroyxx?= =?us-ascii?Q?jmjhWCXXHsELFQ2cDuTOr2dyqvnOgYsP0MI9Y0RLpuYfwyNNnxmMbvkU0XcG?= =?us-ascii?Q?tkSKexfKjjofFogjie/23QNDc7IpqhVcAtb/eLQeM/LzSXTzmrOpTP4DrYBW?= =?us-ascii?Q?9U7PZ839A+YVtJ3Cp84np6iAeYfBmny4ko8d1Q61b80uOnTBlejglQZDej+S?= =?us-ascii?Q?Ncq09elyTtwcujFy1yeN0efhqoNof4Tyh82zQ0c3WMAxBQAcTM8YZSs+YLEA?= =?us-ascii?Q?hMZy46yqrXUX85hc5vNiYnGhIRYJDIrjHYoS6fmA+s+Z8Ma74N8zdRJqWCNL?= =?us-ascii?Q?LjyyuI0bTck9ezzbvyj/vaM24TSR91Ha24L88uHj1VU7sp2pwXKR3XGjb2u1?= =?us-ascii?Q?lFjpVpt/xn9KyuZlEAbrGlBUD60Q7E9dFkoWShMyglezv7s09/ySXWoju01g?= =?us-ascii?Q?kRcnxT7FjgUNtQHkbIwuce/Hc5W68Lt6GMqZmwvbKmF6PYrHEM0rF1cEJ62p?= =?us-ascii?Q?3/IdzTA1aBCCOO1Xa4WbcLko9QzTVVaz9bmljv5JY7qoReUXh7nwqtR/qL9s?= =?us-ascii?Q?sDdjpEkoj9tpDuDgrC6aZBQvatho7pf0YsxhbCJ3pYI0I3vis8rLczc1OTHN?= =?us-ascii?Q?yN4fOa5POHTwludXIwiGmPqhfGebnVrWkhelYzLCRm7GJacaEySSnM1V4cC7?= =?us-ascii?Q?c7BeNwcnQ/4vbozH0JFCRxiC86BYgQ+Gvt0FLdNImqt7qryyPMHzO4nN1CPz?= =?us-ascii?Q?0kIfwZE/MybB1TRX2d4H4WySdOBILGy3WdcrqhgaFRUWsgIXdiMfDTFI/5LF?= =?us-ascii?Q?GkAKU5kKih4Qu0XHb0G1MsUa/gCpU74X3AwcE0rQTX0Jg3I/YlLBghXRiQc0?= =?us-ascii?Q?Hlm87M0S9oNtBjA94YlGdnWcmctJMZYi0RBrqn3Wq/sCa04JL6VLj2Nj4fKE?= =?us-ascii?Q?Plg3NWis6vXelREHxHxHDaIToWTQvs2PyOKu3Wliuk5Sz5cUMM0m//yBOOLu?= =?us-ascii?Q?Lwgr7PJl5wKYiEkNy7yiPEoDTfzHG7Pvq+rPh3ka46YnmOgCewkRTh6oHw1L?= =?us-ascii?Q?V0GLOSqvohvhRSWOMhl93RAFGaoiw1veG7m+vq2GeyGa4dHc4uMrparJyycK?= =?us-ascii?Q?rrRQBVSzBnDk9COzJ3iDDO4j9Mo81KMVt1bNvERQB3EFAXk/T7XfJA5p6J2g?= =?us-ascii?Q?7Hg3lTAF365XRrgqxsAjCemBLVFFHO8msgu6UnEvg4Uijn4V1Q5ziiJplM4f?= =?us-ascii?Q?ZV4=3D?= 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: fb9c18fb-69d2-4e44-1a25-08d97e3bea85 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 02:43:24.9379 (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: b5G7QTDaq87WGRDfe9sO9C19D9oaeKN8vwKSk0AxUHxb0CeNLSOKvieqCi1AgSY7LTp71xDJ2DDLO0urvBSNIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2763 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/2] vhost: support to clear in-flight packets for async dequeue 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: Wang, YuanX > Sent: Wednesday, September 22, 2021 4:56 PM > To: dev@dpdk.org > Cc: maxime.coquelin@redhat.com; Xia, Chenbo ; Hu, > Jiayu ; Ding, Xuan ; Jiang, > Cheng1 ; Ma, WenwuX ; > Yang, YvonneX ; Pai G, Sunil > > Subject: [PATCH v3 1/2] vhost: support to clear in-flight packets for asy= nc > dequeue >=20 > rte_vhost_clear_queue_thread_unsafe() supports to clear in-flight packets > for async enqueue only. But after supporting async dequeue, this API shou= ld > support async dequeue too. >=20 > Signed-off-by: Yuan Wang > --- Tested-by: Yvonne Yang