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 78556A0C45; Wed, 22 Sep 2021 04:18:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CF2D41174; Wed, 22 Sep 2021 04:18:56 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 87F914003F for ; Wed, 22 Sep 2021 04:18:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="210737770" X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="210737770" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 19:18:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="585227036" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga004.jf.intel.com with ESMTP; 21 Sep 2021 19:18:53 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX606.amr.corp.intel.com (10.22.229.19) 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:18:53 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) 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:18:53 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.102) 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:18:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IqfA6YsnG6XH4+FugiHIqq9hAsir5a2p5gEsMkFThXpBiragqLQ9pSmlUkp/zaHEAyRk0GAivhFVqnlJIUocD++Sm7N3OXt1HBApoSxLzFDVWJ7kFFGsCLcP8zpjfowhL00/fHEXmCfnIysjbmVqUx01+ZGz+YaWCHV/wHrmR+GI26eLceH7zzUsiwQTcfMF5AlHa7QjZa1Cz1odJ68kQUQTpFsj7nlcZsD+7icGnJ9XVhNcS6lxHEhuefta76r/SQt9Usa0oSoO43u31hyqBOpRLvvp/4jsbrYNUONgWCz1jW5045rovZ9qoYo3hddMOe9RtJEDzrMsGULKiys1wA== 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=x42mq0+2QpmYDYpgKuS8tmOXpKtxuo627cLHGkGU1mk=; b=O7NEKgNsae/QU0lq+c7CTNVAgVA88nQApEcNV8kDf/p2kAvnN06RsYWF721eQAlLnFesvNG/OD1lzA8M7n2SiYXQLHpu4XO6mDzkekDsYiOBXkYsyke9xk4z2qMI7Tp6WsswdOmqHnAM6OCrDnkBDQN0/04cq+y2uVcYLn01G0bOK0GFQyPtIlg79GYxqXTGsTFFc3gMlG7vYFpjoC5vBtbqvr85cPrVjx1OMAV1N22N66U4kibRajklAyqhlmTpRxe291i/2Y9lEjsv6wNTfB51VlS2LECt/dM6kaFwvzUsKEThehXmvSzPYVCISVrxhpmLDHHNUMkMJdOnjmFRew== 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=x42mq0+2QpmYDYpgKuS8tmOXpKtxuo627cLHGkGU1mk=; b=kCiMfVGcUdU3CFL9e/qjJC5tOuideR6aHp9sBjYPeIZ1YutNLXvuYc/JcZu8SnYr7wRHbVdpwk1aT/LZRLFDGySACzDLyGlm+cNW+0vh27lTSxCyF3E1ZXs6Vkg03OksL0Fe1PRAoNvl2FRGQDOiL/0HtW1tMxHJJ7SJ7QFK6Xo= 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:18:50 +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:18:50 +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 1/2] vhost: support to clear in-flight packets for async dequeue Thread-Index: AQHXpUn+QSzHUm7v5UWy361fcBGPqKuvZXwA Date: Wed, 22 Sep 2021 02:18:50 +0000 Message-ID: References: <20210909065807.812145-1-yuanx.wang@intel.com> <20210909065807.812145-2-yuanx.wang@intel.com> In-Reply-To: <20210909065807.812145-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: 92337801-541d-4eeb-bc59-08d97d6f5151 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:3173; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5XkddK6aQJE9GNvcpu/yp/CRYTqdGcFh2SgD2MonOQshOeb3iA6zZRwD/aSiRRtp6rG2TbRu+N1OyOZHFs8gMHnp/GllqFjRBA2m//7zbM6hu4jawM5qRvjA2r+pMoo87f7I/odmSyVzvrXfcX8R5JqgaeIpEuilLZ9q+4u8oj3WUQO04bI2zDM0WgX+kCdyP2PtpAJndj67ykGH237bVM4P1PKPugzs5YfWc+dt8Heg0UpaR7NogRH0kJ9WX0APiCeh/vGEJ3Phrt90yFiljFujpgr/vxENtkgLwrFJGLxu3+KZ3wLXl23dlVulaZeLjergmaicPQpCKSIfROof9PXL6RE11KgYzUH+ZTbP4EcccKLNvHIPl/tlS4ts43QKw0+Af33R0Nd+/0y5dJCP9gNW6ZyAMYe8DN3lxJsHjRCl7kaL+CEneZe1A428RdDXnXKK760bVkNChl/XBgnQjiZIUb9trnJMjUv6nkzg6vWTCccwH+99BERPOVpaPnpocjwLwQrT9N/XeS0DQducknzGkX1URSrVZp73phlA3xsJYrn8+zkABMPM6vsQyRDvxDRyS8TpSdCFw6G21J3iyYHKUJL0RD+EbczIGZNU4bXKG+5Mswm+bQ159AhbBrUBYVgJQfmVk3xBUTqk7jSDEl4CMtRJqI+7KyznlFNBBALIcTo1Rn7Br4nBDfWE30rWMjJOiRoHjIwb2e27zSxAYg== 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?+gkBoNTPxIuq6DaTithF/byr0vdKZ6mjrNQauiCLL9GcSdWqf5OKOadhdtLX?= =?us-ascii?Q?y0X7CC8yS8DKLoRsB/f54c5lIpQDy+axbZFP1/DWB0LlGg2r9qLDK23vXwT1?= =?us-ascii?Q?D9gHZmltFdV97ilXOnVqMBGzetnHJ4+VgV5Q3KCRSYC+C+qDUH5P7LpfK5AD?= =?us-ascii?Q?ASHolV3ShgQoaj4SM8xm5aCgS3OuBqN2QwcLq0+elbtEl6y9IDJ4P1RYbbkn?= =?us-ascii?Q?/Wd2wy49BqzxMjy1srbEm/54297OApWQ0jy1uM0P79Wq0OCjE7LLrO9j1cQg?= =?us-ascii?Q?nlRwYBbIrds8lFROg/F78AlLhSTW17mkNkzmK7kFEGhB7cF6N704qPuoib54?= =?us-ascii?Q?igOA8xq1BOcRcaA8Kq1AbeUvxYn4bqGXF1beo+mkdyWwuruxl5dFDJPPXNfp?= =?us-ascii?Q?VPQAkbZXrg4X6JGiWywDHIuXGhJXCGiHnQKec1MPufm4FbHVLz48saza8uhV?= =?us-ascii?Q?DBJIdgOgiI7SC4MtDxJagNWLXqQEy4HhLmtKJYAhAvROlDppv773VT09FCsm?= =?us-ascii?Q?IoJR4Rp08OV2okVzjILxma9h7SY5aX0crmDIvHWKL5x/w/2KxYE8Nbc6KQFr?= =?us-ascii?Q?7IAmjNn0mcQN0/zwxP7NLKstRLHlcxvR6YnGZEooREnfJ1Oy1cYkYiFCU/O8?= =?us-ascii?Q?A8n304+ESYU7T0wN9MeKykAMzpYLeXSSj5OS/QmeC8SqiAFx4lmBYxcCt/rQ?= =?us-ascii?Q?XVPwaFInXeHmJkp/jfmJhyokmJ6wz9dzJkyIPxl7cG4AfKNp+mB5AeIIW/jY?= =?us-ascii?Q?WAv3wBDKJ4XDVpX/jlEILUl8ZhmMER0KvSio5LOHc8LF4cLplhmujUcfNbmk?= =?us-ascii?Q?Y2wiuH6l7cj2gaNHa7QlUwJv3JvVdWU3v7vJK7omF+W1YeLY2T5N7HNlCv2r?= =?us-ascii?Q?8uNutNgn1QzYZRBFsETEPMxNqP5IzQAr/7Uzroua2ZE0X5MHSF/FDxpdg1BG?= =?us-ascii?Q?a2tKxKNwIdSba2VyxGFuScvv8knIl0lFL/RhhShZlk/6B09qCG+1K49GGAZX?= =?us-ascii?Q?UGMimWwdd22nhQjveN/c+YVTgerqNGfQBB8sPB8jpQSVo0X1yA5QOXspZ0Q4?= =?us-ascii?Q?F6b06tsKoTqZVRQgS6Ya407h0Nab4hR/F9UP5NCEDrIF4Wx8txboLBEAJj4b?= =?us-ascii?Q?HmwbwMbGW8tukLES/c9sD+fBYAECTPxr3mJoA7V3ANIBhgW8t9yUbDbsowCT?= =?us-ascii?Q?C5xwkjTwaxhFZfFIxLO5X7PhmXbsuyVVkvMF+kbELf0oMLe3lsgXxB1hERH1?= =?us-ascii?Q?AluykVNqU49jjKzDx+saMJigU2fT55KBFHkkhRfUwwU9Zlqhp5w70o4cbxxM?= =?us-ascii?Q?VDpKpYBI8QgSMyerA+/SsU2t?= 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: 92337801-541d-4eeb-bc59-08d97d6f5151 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 02:18:50.7529 (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: iVNaetKsfSVoQayRATFjrMWrcMhB8POqZMmOTtGjOYjLqrfqmOaZY7qby+AIZS2mPPfmC3HWKcqt+vd3h0XnAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2091 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 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: 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 1/2] vhost: support to clear in-flight packets for async > 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