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 4A7D5A0C45; Wed, 22 Sep 2021 04:17:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E9DE4003F; Wed, 22 Sep 2021 04:17:45 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 8DBE24003C for ; Wed, 22 Sep 2021 04:17:42 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="202995765" X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="202995765" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 19:17:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="436079267" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 21 Sep 2021 19:17:39 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 19:17:38 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 21 Sep 2021 19:17:38 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) 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 via Frontend Transport; Tue, 21 Sep 2021 19:17:38 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 21 Sep 2021 19:17:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hxlpUH7baiGEKbOM8C9n/q7AZnHhqg1lEPFe8196iKgHYQnYhTK3D7etvHNzhsQ/71TAffu3hCKxwUWP/ArLI2KsMfYAn2O3G5lC7bnV54lM791+k/DpcgjrN1fWmIXWnjMxHxvC/IBazdD42qpwK0gYP5FrLJLvJwjbiWahnd+DOCZc9TsC4rt6jTYhU3bcEoNA2euXZMDOVeqK++N9OL/oikbulHoQFvZ22vHhbi2si7KTXbyQK71aO8/5uAKUh0LEvfxqYCvNU+xKMI6AeB6SJhG2aPne/thitqx3BrPQ4YQjTCZlZYkTADMQ8KC/5aykypxdKOMYUCY7z81mFw== 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=sBcQZLo+fMjtWr4+ewi3yujCaDLcnJPh1US7c4VuRDk=; b=bpTES0H8IaIBLI2QKQ/MFFUwgyV0IcnHZuMWcTIfDAApAW2oZHAW6uzTGHrASqmon6EgNJ5yyajAgpEXL1b9mE4eXQhrb3viq7nyw+TP7BoJ8CSjlTiWt2BDOhqggZi9hiG/KOQgLQXG6twACw2xlnBoibQgL7NWL1TsLLMq5hcJdlu98xemDbwE7dH3FwPN7yMMcpqpW3KwFnZtkxX/FwIRcaGQkNQ3piT+n6uNHKMw0YhaFPKHjUOrvvkxX2P8VKm34zFoXINeTofiyvBtML1FRpi7z/ynOr6iD6vAuplVmaiHKsYvOSXJagOpiv/PDaquU67vAQqf3zvpYyE0/g== 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=sBcQZLo+fMjtWr4+ewi3yujCaDLcnJPh1US7c4VuRDk=; b=UUGoVmvL1aAd5TRDXCVFx5BCtt7C8Y+EcDVbfI3Qm+9p6J9TBHcb44FVB6urq3dGt3gEUv5zzkkgNb86eTpdzpHWXNn0G1mD9VLCpDZkFWPRG3InjZZJ0FRSwbNcy5GO5OMTa0PyyIAJzgm1NDDd9zyyf50Th58GBFLUQNP2Szg= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM5PR1101MB2091.namprd11.prod.outlook.com (2603:10b6:4:57::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Wed, 22 Sep 2021 02:17:34 +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; Wed, 22 Sep 2021 02:17:34 +0000 From: "Yang, YvonneX" To: "Wang, YuanX" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "Pai G, Sunil" , "Hu, Jiayu" , "Ding, Xuan" , "Jiang, Cheng1" , "Ma, WenwuX" Thread-Topic: [PATCH 2/2] vhost: support thread-safe API for clearing in-flight packets in async vhost Thread-Index: AQHXpUoeRAfGiLXKwE+BHSb8ssoPNauvZJ/w Date: Wed, 22 Sep 2021 02:17:34 +0000 Message-ID: References: <20210909065807.812145-1-yuanx.wang@intel.com> <20210909065807.812145-3-yuanx.wang@intel.com> In-Reply-To: <20210909065807.812145-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: ce22f69b-06d8-47c8-7d0c-08d97d6f23a8 x-ms-traffictypediagnostic: DM5PR1101MB2091: 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: lTkw04ByyLzU6IoE4YHVhkAd5ee268WI0Qsk72c54O9pDyyWWPxdAGTwzZP3fV54PgK+95c8iqZwML24qHg9RojRPouERwD6HBISwReawLG952wy8IFls0YRri5h5T03pZbm9OsABKAG9MSt6zDcE376KneLCCQwNme5DPdW0OX9cpqEABjpYGT5tNPwQrauvgJg4Jj8I/F31bnsBxJ4a2U9K1TXWobaSr8Yy7WpJYWjaJngpr3uk4kx6UyANSYbIwZ5okL/Bwdmy+R0z/7+zzt3tu9G3VlbNfpCpMcYpAjHZY+9/yzyHJ8TxOg1jrg2fUylTeFnGOFWtHC68+ilD5HkShAhUPKFGO2GWMPgfrtwNXv9m7NDQGoghWrpZixrOdvLhBZn9MsyqILCgKxPzOQjC2Sq26Tk//aH/FXeOQwe5olcKVdoopwnyT1YM1bxw4C191ndTzXNO9JPRY8S1TRbV5ZWv7HybSAzpThP1OIML377lHemicw+yaSR1vVfThpanfS1LIizv2JjTtp6FcT2D/hiEXoS/1+BhW/LmPtRR5ySTgLxhp+gd+Z5guTKI5fBmB3N38iQ0xTLDHdA77hZeVLEUXWZOXLaWLlV59IbbrRnBck4T7TAmOqkd6EgwGqQOErB57t1ODQTg9dgnIa7vdm8J2zw7lsJtRLARI0ZYFAYGb0SfEY6gfdmyyCZDJkWcZZWOCw6zLVuE/pyjA== 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)(66556008)(66476007)(66446008)(107886003)(186003)(64756008)(71200400001)(52536014)(66946007)(122000001)(76116006)(38070700005)(38100700002)(54906003)(2906002)(110136005)(5660300002)(4326008)(8936002)(9686003)(86362001)(7696005)(26005)(8676002)(508600001)(55016002)(316002)(4744005)(6506007)(53546011)(33656002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eDVsjk1Tq7KHwzVh91bfSXyCkiOlbod/J127i7eGcYn7ok/7pKTZBAyxoZBK?= =?us-ascii?Q?CyEiO1maNbcGWVdGFXYtDG+fdpvEpLeRy0KCGAuwdh+1cimrqzRACRfpEGQT?= =?us-ascii?Q?jztga4rAX4VtfkWQiUe6xsqWn7k+fP+nMAudpbF/vVs49reu2c2vobZcGhLM?= =?us-ascii?Q?kYgWirpKbaNfhjcKznlRqhRlvRhANwiVllwzqMSmXmEXbp772ZuxQJmJbGJ2?= =?us-ascii?Q?7cdqdJZZ2+lLo8qmZhBtkizJejM+mN8pXy4rDRjtCyPagidCbgqP4vcjau6C?= =?us-ascii?Q?PnXt2pUxkL0b8LYxhS16FjO6PtmW060EzzFchabnbI/vv7lf6SukfbhRrfmJ?= =?us-ascii?Q?3Ck5derOCGMRz487PS2BV3p0SHRa7cgRl/sKvTAPD0XFiSatiNsVSGdXIANz?= =?us-ascii?Q?BgIN4rP16yvx8AIIe+ohzMLQ8EZaFp5nHfOKejPMbiWgPDvqPVDDZChxQqoB?= =?us-ascii?Q?Cu5DPchdBKaJ/pXyPHjZfAzHAN5qpG/z4cz2SpDNY4l9NoSqoacu1hgHj5hz?= =?us-ascii?Q?/uzyEEAxCuAIzpfNd9zMBVHCCHJIGxQOEN48Cp1o2NXroTZKCDnP/DBBsp6h?= =?us-ascii?Q?5ik5xXhXHIjUU7OUp8Aqso8w8Py+UtnzgcByoeWodvKgpcaEmnipf7iHIS1P?= =?us-ascii?Q?KbHlc8Vemqt2/RBgzD/VJ+qRTj1RdebVZY+IyZO2MUkaEDuHKZyROsaokdeo?= =?us-ascii?Q?B0p51uDbdEgvBpcXHRSPt57c/D1mTas0qvIQjcOQoWeQQIv8lu5cNLLwPyAW?= =?us-ascii?Q?3HDryvSMEMO7yKfztomVsDL54CGMoW6tuummyU54iZDs0tX2gDOhydI5HE9f?= =?us-ascii?Q?RgRTC1XNcJT7MbimotQaUWKtLOU/j1xw95/iXug3GxaEX30kep9D/3tb7hIU?= =?us-ascii?Q?VjF16dB3OobC+Io3Wo/EmaVe24Y5HaNPo1/PC2NF17wm/IkuWPJoq85dRFSr?= =?us-ascii?Q?w2B3IbGH5CMGEeQB+ydQ4i2RNIMDUD6Vi1zxD8dqwmvXO5ZTpbTeaTNvfnQ0?= =?us-ascii?Q?buaI58u8l9wkMeSnXyMxvyRySfiXlOKO96BjOapArihsMFmboH44yINyUPEQ?= =?us-ascii?Q?dXw6oe7u6ZIS2eQdnwaj0VUsRqz2Kxyq1FdGPwICMxsVTOKJQdX8eZ1LsS0e?= =?us-ascii?Q?IUwPL690VcIizxeK1oq/ExGvzXVpzTRoSums/MrdnPIS3yzVbsT07ZTseZ+J?= =?us-ascii?Q?HGcS/nqecB42Dvn0OcIpQzG8nRVg7vxlF7QT+ggRA4s0tUDY4QcK1v+Hz0J+?= =?us-ascii?Q?3W0Q7hglpQJjTCchiKYrYaKU97c53h2U4jS0aVb+CZtBolTvmJkjWctU6QXB?= =?us-ascii?Q?+qk=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: ce22f69b-06d8-47c8-7d0c-08d97d6f23a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 02:17:34.1433 (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: rDI9DGKaSbWC4ZIsRFC9WBTeuJG2tBnpbDqj2kdYPHbuWc0q+9iuUSlDVKGjsZi1+1BQjZpBulh66SDeocUsVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2091 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/2] vhost: support 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: Thursday, September 9, 2021 2:58 PM > To: dev@dpdk.org > Cc: maxime.coquelin@redhat.com; Xia, Chenbo ; > Pai G, Sunil ; Hu, Jiayu ; Din= g, > Xuan ; Jiang, Cheng1 ; Ma, > WenwuX ; Yang, YvonneX > ; Wang, YuanX > Subject: [PATCH 2/2] vhost: support thread-safe API for clearing in-fligh= t > 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