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 BC5DEA0C46; Thu, 23 Sep 2021 04:43:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6E8141224; Thu, 23 Sep 2021 04:43:58 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 0DDC0410DD for ; Thu, 23 Sep 2021 04:43:56 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="246195350" X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="246195350" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 19:43:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="704294461" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP; 22 Sep 2021 19:43:55 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) 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:55 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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.2242.12 via Frontend Transport; Wed, 22 Sep 2021 19:43:55 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (134.134.137.100) 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:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aIt6yl3aeL40HRC1aiOkBV+GIlnOYJXGtVULTTMpuxyx5Pd5cw2FBlqQIFhWhVBI7K1IKhskWEvEn/o1EdTzFauNU6bpMe0jfPSgHwqJoTzCu7vn8ADjQcnIWxo4OqyP/O+ty9YxPOgt3v5JYF3xPuLOOzMd5VNuAVPaRgFuf3GIGQbAmrtq1/J9iyAEvH+Z/nlLH1f2yBgWcdW4P5gJADcDUpe5FxocYqgF71u6nJ2c6GpPe3MhBhDnlzTACwiXeLeAP+LVsG4GtPKp9UWPxsqcZ7uInTgnKQ6OrkIafR3T/vusw9fGIGWwauEHpi4wzl6LV5jK0HEWGThs8SW6lg== 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=jSw6TvZqCZfT9bcVd0dxCKv2ikK+tjMx8pwFAFWnqWg=; b=hywO5NZyLGnPnJLNTqbmM+JuwqBqqpCaKKcd2STFcpgK3VZJBjpzUJWghXeijDng/6Ex7sF2HqC0mWVFvU+BTFcq9yPpufiN10IQNmQTBLxFFjbu8lyuDdmRzu9/GwyA617Bna82MMPMPkmMNu5+vw/zO3cBjxhBYn8PmijZBkYxNWPh/9DEQyhPqQJI6rsSbF3BRzt943tM9e00Rdtz741mAhB0u5hnGez0aNEEQEZM+L9+guRplVazVOmQVScuIiO6tJr+jGRiCOeh9Prf5c8aM3tG5P+cT2fHZERsSIUTNdVr6LLMdlAgLp0fHbpGccsgm+GnqWVaxHB71H3T5Q== 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=jSw6TvZqCZfT9bcVd0dxCKv2ikK+tjMx8pwFAFWnqWg=; b=dkkPApk5xVZ8NOqrc0LKBm1cTpoKIPpjOpVrgjA8461WI6r1KB0varS7Ko/tjFDL38K5a/4RJXT7N/J8O65wjIQsUtuqZdnZbv7IU9TQIrI1U3A2Txu8pfu8uOtnb/qECGKX6a7SqT+DMZOasSd5a33D6F84OObuNC927FB6CNg= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Thu, 23 Sep 2021 02:43:52 +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:52 +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 2/2] vhost: add thread-safe API for clearing in-flight packets in async vhost Thread-Index: AQHXr5FOQ3bhstCABUWwroUtMFCE7auw6nGA Date: Thu, 23 Sep 2021 02:43:52 +0000 Message-ID: References: <20210909065807.812145-1-yuanx.wang@intel.com> <20210922085546.54758-1-yuanx.wang@intel.com> <20210922085546.54758-3-yuanx.wang@intel.com> In-Reply-To: <20210922085546.54758-3-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: b8413573-6006-4a69-ce43-08d97e3bfab3 x-ms-traffictypediagnostic: DM6PR11MB4491: 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:2150; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Eujm7+mGpa5ltdzgebjaBfa7QtObfFrvzGppvLSUCJwmmhuzuAoZnE5fCRStAqNCJ4kd//OuSbq+aiOnO/6PEJBCjipJTWqVpYAkElw004yPao7JAfGafh/1Y/RC3fdDS/gMCOjxeKd/E8bYP3yY96Rs2NtjrRh6n04Ee3eGH+UUYXPNZDii5DD+kNnSqjXCi5tmyQuIA5wVP1gx39kqpO8OwChJWxEtJc3WDWceckoJyKMsX8qveBv3TiTlpEWqzCwIc7HRBnBbS3KjTGQKAeN2lefinOZzsF0/c6d8VqC6xivxu0FtPwvgelXo/Qev0XAfgGPkAkx8Nn5nscbHOfr5lKNO28i77L4nd6XdkrfTRqh+EfYg9uj2DIbbD3/pVur3NbVYV8FgxnhcgEHrGzMJ50d0Xnzo5FwB+6EASErpILaJQiRmBW4XfdQcoAWPf2m2Ttb3R+hI/LTla21f6DlxzGdafO9SZVuB8aBVWJde/5z+8xBwpTXrR4gGs9Nfu0UXTrQum7o5GOUiiqT2M10pIg3GtE2xcxjtZAwAGKr+WPhAiMQGJ9kMOezGJJBisFIDA1OMD+1CNv7qWNpIvjJXxCMmuI7nBN1PyEMgFporWcBwyogJpDKomj1cDEjWspUM5yncVJYTWYmfULvw16Az8ooYy53qxQiyVyOS0l37AtrQJcqij3aCXpfYuZtNqplsfd6yRK5NBO5EbSSeTA== 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)(8676002)(107886003)(7696005)(122000001)(38100700002)(38070700005)(8936002)(5660300002)(52536014)(2906002)(71200400001)(64756008)(66476007)(54906003)(9686003)(83380400001)(316002)(186003)(33656002)(110136005)(66556008)(66446008)(76116006)(66946007)(4744005)(6506007)(53546011)(55016002)(26005)(86362001)(4326008)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1M+cbnNPfa3mjeZSq3VsdFpTrtwW4++8vXv1/V0OWzX1sV2gPUGHJjTWI+ap?= =?us-ascii?Q?SezfRERfHo7hHKAHLumPSu7Toj8ikoij+AfNvykUD/4ae8skqgNIn7pGUiEM?= =?us-ascii?Q?v15vGllGCm6MDgQCJB6haS2E6bjPqt4tyrQovRgE/6hkRvBDBDv52debCBaZ?= =?us-ascii?Q?chPjtAXebKqWzP0jS5/VmIoOAyxFD+Jtdf6GPMkDXRbxi3gvrwen1tfVCU4u?= =?us-ascii?Q?QDDCujLLh8DIC144cJj8Raxea7GuLF8gzsa7hIV02mMC25yl2UHm5cX02XqQ?= =?us-ascii?Q?wyD0Q4DLYyu0vt7gSLvlNJbFs6208uv/rduNk1dnKykC5jBUQBwEOMY1/6de?= =?us-ascii?Q?/WdlVTui8zMobfSHqjvD0qUl/ids4tNRnQSCTjkL3EhxNT7WY8wDe/fCW5Pw?= =?us-ascii?Q?bOv+5ly6Vd3smk4ai2ytaSWtnoYJo+6DOTFs9+GMZHmsXFOTpOrhx/AU1Exm?= =?us-ascii?Q?kYxhtKWkuu9cpdu7v/AfSXbrwesI3RILVGPV3XmOMcnWxvHNGYCPaHHMSFCN?= =?us-ascii?Q?T2LTDh8t0KNtb6d6akgFBTkje2g++ZNwVFfC3svSzEm26jPyUHFuP0bc5y6/?= =?us-ascii?Q?xd333P1up5eYe02Vvvp3/wUzxPKacZybbivuIxorwuDOdd2EBsz4gkmLk+Jf?= =?us-ascii?Q?QhjtYkRxusdCJ1ApjPOSbg52D6G1F5lbSaAWfW6B9jXIOlcTfkR2wz39crss?= =?us-ascii?Q?0FXIoFOG48Btmy03Pr/i/27zbx4uQxarkZSKkatnvlhFJKEtP6yCmw9kdqdz?= =?us-ascii?Q?S3d0iCyem8cBzR+cwCclZGhafTEX1t3lEm2OM3AWKPjBtlPKVKgOHpstTvRu?= =?us-ascii?Q?5HsFR580/8tHMSOulgicluYvnqiJiKKr94mVfubCuJtvNdYS9s65xzTkUCNC?= =?us-ascii?Q?UeeJ5cn8xEoDYeOHv/QiUPrpd+PqW4rIx48d7SHFgLD4ZEmzWC3e059WwWvJ?= =?us-ascii?Q?GDkNOo9KzYsVntN15sPSatmmv4OLnuOQga7zMkQn2GsVYgyVyY+7ezjCO2kr?= =?us-ascii?Q?9f19ElzZisdIRyeyGC+6/E6k8/VI+7pw6DkPU0elWtzB+WzzuHzEz0qQuzUo?= =?us-ascii?Q?nVMUUTrjk22khZlmPFMpKqOaFHnc12p8FsaG5/F6/0yXYB2wayGcCgbth3sb?= =?us-ascii?Q?NDn6qWfOtJLsUmo3Io2rFJsBZyjsbm79KyTWm9T0cfF3fynDMrUU/sBZrtbw?= =?us-ascii?Q?Kax40R+VNOVrpa9FdJsLYLkFc2vdhFX0Ko45oRfqE0ABjlDS6GBJtkkyfUnd?= =?us-ascii?Q?vUAnHCt0elQeVufn91hQeDtW57TeEJ4LfKMK+lB5hAGAMJl2mlhNjsNijr/x?= =?us-ascii?Q?yYQ=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: b8413573-6006-4a69-ce43-08d97e3bfab3 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 02:43:52.2304 (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: cqCij2euWDHiR/vqjPefzNLw1BjA4BJql7BTmUMKnxh+LECivzaO/T6sS9yKlOtmpKqWwBKxv1uOoNpqJL5roA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4491 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/2] vhost: add thread-safe API for clearing in-flight packets in async vhost 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 2/2] vhost: add thread-safe API for clearing in-flight > packets in async vhost >=20 > This patch adds thread safe version for > clearing in-flight packets function. >=20 > Signed-off-by: Yuan Wang > --- Tested-by: Yvonne Yang