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 0DE89A0C45; Wed, 22 Sep 2021 04:19:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB47141178; Wed, 22 Sep 2021 04:19:10 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 97C0841175 for ; Wed, 22 Sep 2021 04:19:09 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="223533423" X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="223533423" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 19:19:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="436079515" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 21 Sep 2021 19:19:08 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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:19:08 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) 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:19:08 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) 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:19:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqAKjUgDkrSVeG1g3pbS45Vlv9DtKQVe9zqQKmaA27qBBT0c8yXeo33hMilocI5ylYO+RImSt2I0WBZmdh+OFAYtOjez6bbn02ITaXVyi0ndsB59y3gKWyCv3qqRgXEuhMIjVGsKKwOwjUqBJN/+hl4rqhezE/2ihZSjtLTGRM8owgITPNkvqMsNIi5ORS/uPsggFGLHtgHnI4GybGtMbHxeEBqKxpkXabj41o+yFQLnxs4vzUway9djMoXtbX+Urp09NTwxY0mNSjlhL/OFwQ/0kEnGGCDCQWM/I3s3+J4LkKKCwoIXOCMTRcAqSmV9PvTGNuorEs9nboZzIKTo+w== 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=dtTgwFzuBuNmijzn7teB7ENvDGl3aE0+xg9sRTaoWgU=; b=WkwlqwZrgW25lM8RvnI8oNQayOw3+EjtoCBptJy5IbD+gRHDDiDb7y2uWhBuafFbHoUE1fqPF83rZ4bSPDYPXemrruVAhulNoQ9pNItZJcRjiBsW4Psb9tbU7dolo/5mBNxKwrMypE8CqKrkhmi8mN7OCmTrtXR9WdqRt2kXkwN7mJMohIm1ITky4d0NRDdWWYf20nbDBchGHcSrLRiLRmagXo7RN9yCPXmWA9G99cqPyk1Nvu9DKipIegi22DNsSeWlOIuSrTYIRy29Rq1KOToWFbJXIGdKOpj6hbsHnlMQkfKQAbt2ye7LJ0hNies+pGB5c2r34Sn4HZuJNg5sqg== 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=dtTgwFzuBuNmijzn7teB7ENvDGl3aE0+xg9sRTaoWgU=; b=JEkZmzNTsB76lRpZDidcHQhgPRogyWyOP6RpViJ/220yPHI+U7TGHfRSxTWDMdRX2QnWzPePjPUKX3HcAeLm61t2zn6UfJJXRculi14lxdz9OQ1EZepnAoxrOt/jsXhta7PplT3bUFyX2aShabHqnRpGOh9H9Etm8CgdveojuF8= Received: from DM6PR11MB3771.namprd11.prod.outlook.com (2603:10b6:5:13f::15) by DM5PR11MB1339.namprd11.prod.outlook.com (2603:10b6:3:d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Wed, 22 Sep 2021 02:19:06 +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:19:06 +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 0/2] support to clear in-flight packets for async Thread-Index: AQHXpUnO2kmNEoHvMEaRVorVjDm+IauvZczg Date: Wed, 22 Sep 2021 02:19:05 +0000 Message-ID: References: <20210909065807.812145-1-yuanx.wang@intel.com> In-Reply-To: <20210909065807.812145-1-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: 75b98668-248c-4a58-4523-08d97d6f5a5a x-ms-traffictypediagnostic: DM5PR11MB1339: 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:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xuZO0hDlkTDw/dQ5sFmVfrDf53sfvbhaKCggVJ65X8ERi5rRjFYKrqn8O+tCAgc/zET19m8Ukr1XRaLcEnY/7f+5/6UCTcxJVlT3LdiOIE6jX2vJ6/ieT/L4pLwwkZolTsMy+HYBh1LSazVAAfJxgTXfninKcxRS+G3QmM5Dqp466OXQwn4n2bakJFPkZ6ImGFrPaXJWYk7SKuc5z19ZlEex+gZWpD6SaIaPeqRcD7D7Zy++OAY4jfIoaaDrVZiO5bKzo5AiJPc3+GJUd3Qv3CK9UqsPE0Zm6ytTprkuvHjAx6ufMQ1oR0rzkJb5FGJVgfflJ3aHOmhi5/SL6I/XChM3fh7HYyYLvGes5LAsTOwS0OhLFNoN/929h6zLd1sF0tw4EtipRxnZ2huT3hNmiqJtdx2hpKFffwa0/fQQDzEClRM+wBzGdY8v3RFaKp/+C3xyWsEbyKN4b85OEX77/vp8gR67f++ag2kTR/FL9HsIJ5CxfP8p1XzH0JS5lpdVZwmWBNGW0QSwbuweEXteeGAsd1BNp9zj+wOj5p2hHiRIqQ+mEq2cGuc3H5px/+EExGo9jOoERyk2xJ8soVWbNKI/TDBa6FrQFJxsKMDPk/K/PY/zQ0fOLpPDdihFk+w0HFchA/39sB4SBge1rYHW0pJh9jUjw7/XCgGHmoJG/GDdERl2upzwsJ4pLqj621JwjsolJxmBv3SlsIhelSJ2Fw== 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)(110136005)(4744005)(71200400001)(2906002)(54906003)(508600001)(7696005)(38100700002)(316002)(86362001)(66476007)(55016002)(4326008)(38070700005)(6506007)(83380400001)(53546011)(8936002)(5660300002)(122000001)(26005)(64756008)(8676002)(186003)(66446008)(76116006)(66556008)(33656002)(66946007)(52536014)(107886003)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wI0FQpn8FljmS/Q69V74TXKTC6wMxAC9UQ1Y/eKY+0XLka0toB9B1N/AapRs?= =?us-ascii?Q?ckqnqBg/WKDQiVqtA3D+AXsMPcPwEPn+OnwltBG1bhWpTcHsj24xyITAJ2mw?= =?us-ascii?Q?oVxzgm0nWHY4894+9bwYqyczu8gWPOw9SWXIS2wpM4PnT2MlpK6PLtRNGJ6+?= =?us-ascii?Q?qiMLigPfmr6LApPwGWeJ7VSyRG341BCtV9vCJXpnN4DsPx508Kd/G9BJbSd7?= =?us-ascii?Q?1LCsGAF9946cgpGznM7zJJYmxnidSfkLb/BjtxpWq2sIoHlbNpmwdVkTfTWj?= =?us-ascii?Q?Wdch1avcJY7OKFZKCpIsCjLiW/qdIsXyLfeIYi/up8we+rMpniL+5RQAxnvY?= =?us-ascii?Q?s94urHbdxkvQXv+bigOxCascGatQUlE+KD8K0qE9CnTzYAEZxHoMgi91eBRE?= =?us-ascii?Q?OiqP5P5f/HrVy6nVUomG/m2Cn2CdTU8DoIa+nJ+jkw5B6jHQcecvuF61PJFU?= =?us-ascii?Q?ra9qGGHWUbyDK47m++NNIRWbBG/y3gjbgDbvqLxlcXNNCkV5J5rhYiVF6XKO?= =?us-ascii?Q?yEDhAKzAPuX/B+pmQgTs2dDI43QalYFjKxV342iquTAnSKISiWM+sNAPONnC?= =?us-ascii?Q?MOkf/Lj5Nr3RtsTGPNnSUORhEIXCEXhbu4epsGoOVocxhf7+pPSmLJNELg8k?= =?us-ascii?Q?22dtAMHKg4zKQu6rlaeb3clTAGrTVNUT0jvGQo0xX3sX6HenBKuutUVwDZFm?= =?us-ascii?Q?K2suZUwcDWWDGQV2edz2SIEoiSzd29yhD4nzaP8ffFwdn2qcmLwYpHhkEHof?= =?us-ascii?Q?Mz2DHwk79GI9/elkQh+oBWA50tazaP/4HagjfCFbyfMbuDvgKEayp3sizdje?= =?us-ascii?Q?l+gN1y6dfRCKDpZv467DwuTT97gDoBrGRVEJPCIeo2TOw0S/KDrqwa7rVvwO?= =?us-ascii?Q?Ni/E0+1S3XTtgCgZ3lAxk7r/ro0n6v3jzxa8ENFd0ErFY5GMOzUt9hWRoogk?= =?us-ascii?Q?D/HKYYnTndMPuLUqmi/6JVNpJhbcSCSyPr4lK4thF0Z185EaWTv+Jbt40op9?= =?us-ascii?Q?L52Zlyb/rPFSRwGaxcMBu1tb4uAcXZPA3cOrJyh1xoWUwULZX9GeP8C/wkOU?= =?us-ascii?Q?JkVnNeI2zaczXBoL3PqNWxoZKQtHVCJKarAEWBwyyUHy5J6j2zxwaVcngj2h?= =?us-ascii?Q?sW+IRAvZ8n/vHL8OqaakRNDhPZukuINv1wzetdkgueORKOL9xj4rb01qFO8h?= =?us-ascii?Q?uZdZXjPR1RIU+hJgL/f1sDiIkmQjxOMlJTqEL+qHIyO/v6v3196Mih38MSfO?= =?us-ascii?Q?u7sK7HvtzByW4FRrlNiZTYKdwqHW2EIsqTFKg1fFWKNL1Y8ZduPKArDikI32?= =?us-ascii?Q?cpttyHhddCiqv2heyQ/cK7dL?= 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: 75b98668-248c-4a58-4523-08d97d6f5a5a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 02:19:05.9533 (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: 63q/+RbI0tiEdRpnb1LbMlvcRD9ayoRpSUxtiAiiQKnyIq5NKY5+qmSm2CA2ENzyEm389eMkyFj3IyaQC+K4IA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1339 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 0/2] support to clear in-flight packets for async 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 0/2] support to clear in-flight packets for async >=20 > This patch supports to clear in-flight packets for aysnc dequeue and > introduces thread-safe version of this function. >=20 > Yuan Wang (2): > vhost: support to clear in-flight packets for async dequeue > vhost: support thread-safe API for clearing in-flight packets in async > vhost >=20 > lib/vhost/rte_vhost_async.h | 21 +++++++++++++++++ > lib/vhost/version.map | 1 + > lib/vhost/virtio_net.c | 46 ++++++++++++++++++++++++++++++++++--- > 3 files changed, 65 insertions(+), 3 deletions(-) >=20 > -- > 2.25.1 Tested-by: Yvonne Yang