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 B0445A00C3; Fri, 13 May 2022 04:33:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E2DD40E64; Fri, 13 May 2022 04:33:37 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9472040DDE for ; Fri, 13 May 2022 04:33:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652409215; x=1683945215; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=vjGSUYtUceLELQBsG2S34n1uQ6ZL+k0EYaFYjufj7+8=; b=VX/ISpSQpoJGuaPOTYB/OkTsO6tjaRZV9wtAN/Lf4eQXAn+/+1s0/5J8 MSwxjJngpF1d0ppUtaCx5ufd8Do5VF7jA4oivwDZw3q0bK6oE/dy9uuO1 djyH2YKHRZmOhC/hETkvTYwRTmVlPg7uHKIaZvArm+JF23qQz0fMmAd1w s4gp64kLGD8ezXGeTLXDya0lIGcCf1vy3AFmz7b3WTs72afMSbhRX9J7w rntLOpNt3B3B9FYxW19iErCSHWkKZkrH92XOtFlKH1JXYOF+jtu1M8uln p/Z6+RdT+1nSalTZ8Ak/EmtA7g3B64xU0wXnrD8nzIf1zAy4FnnduoZZ1 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="252240911" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="252240911" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2022 19:33:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="603653249" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga001.jf.intel.com with ESMTP; 12 May 2022 19:33:33 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 12 May 2022 19:33:33 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 12 May 2022 19:33:33 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 12 May 2022 19:33:33 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 12 May 2022 19:33:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gGvT10sOlfYFH3JH1EOrFGnyhFdhb9m1c0taBowzHCxaLhIvKXfRd9rEe5j+am8OY57EvUuw8Bdc3o42O9rgEvTnSO8qOU9+QoRUByQPXaiq9AIzXsVZBRw6s8AnCCoBVNsbNiAu898mVdUeNLHKeRa3Zil+cq7+XwMn7/oveUr0PfyhjadzzD19ybJcX2u/05sZnS/ZbF+EQ8GBO1mT7S7IV+CnBXJTfNLOZmtumymExyUx/kNgM6SXXvt+fq+lF4G5Y0228CDndBbHVIky3EnzblblNgSPojUkLA0aFeYzSKhZ7WwYw/GxBv/hvqqsTu6HWuSSotrMBj7y6wPm2A== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wkTozO4zAYxPZCqqG25tbPPZ+OQtBfHosg7xWxr0KVM=; b=BDcqsSyi8IHT2SXAAxN9orrBKsC/H8tKs1dauy/AMVavRa6nNB9Wc7qLtFxdXG5X6CQTbrzubFyqpv+wKmRh9JLJtsPZjMfLRWs3RY4H15XQMaHmDur8y+UUBnNRBOAE+/lLOTNXdbaE1oTM39mOTk+WKgCUwOHdcA8aJFD5GXOdAZjKfVKZh4p3Ib3TNfqwXO11JXgjugr/ZPFIAfAQTHNmYBswX6q7P/7biAYw/adzncbp1ewfZazKiF033Y9kpB8R5CXIcfvqyZ/tdvLsOfirit94rKYP1fChh+osi0pt/hI0dpeCyFmKjsAmNLzKG43W92eACm4iMNq4euUzvw== 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 Received: from BN9PR11MB5513.namprd11.prod.outlook.com (2603:10b6:408:102::11) by DM6PR11MB3258.namprd11.prod.outlook.com (2603:10b6:5:e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.13; Fri, 13 May 2022 02:33:31 +0000 Received: from BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::31c6:2ec8:2f71:42da]) by BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::31c6:2ec8:2f71:42da%2]) with mapi id 15.20.5250.014; Fri, 13 May 2022 02:33:31 +0000 From: "Ding, Xuan" To: Stephen Hemminger CC: "maxime.coquelin@redhat.com" , "Xia, Chenbo" , "dev@dpdk.org" , "Hu, Jiayu" , "Jiang, Cheng1" , "Pai G, Sunil" , "liangma@liangbit.com" , "Wang, YuanX" Subject: RE: [PATCH v5 4/5] vhost: support async dequeue for split ring Thread-Topic: [PATCH v5 4/5] vhost: support async dequeue for split ring Thread-Index: AQHYZm3s9jq/LB2ud06wiZ2ogRN7lK0cFEmAgAACVMA= Date: Fri, 13 May 2022 02:33:31 +0000 Message-ID: References: <20220407152546.38167-1-xuan.ding@intel.com> <20220513020022.1054-1-xuan.ding@intel.com> <20220513020022.1054-5-xuan.ding@intel.com> <20220512192429.16f5eba7@hermes.local> In-Reply-To: <20220512192429.16f5eba7@hermes.local> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.401.20 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3ed02404-a495-465b-4b86-08da3488f88c x-ms-traffictypediagnostic: DM6PR11MB3258:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SMa3a7Ku/dP94te89Jrmww9DY1sYHVKqC/7di+3MHrOqCG9wNroIAfP/hxGsF7M9qLtJ/qDqW9Sqfz1r0e9fqkZHH6ZXOo+mPemOIn3GAt9s0i/U90KC8rImO9o34GKPkuHOrhjQCRTrz7oNnhqmvJu6bZClCNr318bR+CAh4GjZtbSly5/GN/uz0pYEymMwuESP+PDtWtNN/U6RmZlWEVuHj6IhpUd+MWd285ip02ZWnLX0P7FFjre5BYsDS+iFTbYxiaZ/OW9HtkeiZ0buiqpsFBZuL1O40NyrXvgA994wMK+lDbPwsNn+XWHUMEcnYmbRi2NIbBY1R1erLQmGHCCO5/6uHJLlvUkYEj6Np/L5W/n3hm7NS3RzYRsDR5WjqLOy3VN3QgrKOgIUb94GCzqHiVzBUs/2pTYrv4K9iGtWcbXbdm15tWgFQa2t/87gQKMWrD+3+/008lrAwieqE26ONu1xtItj3RbvCqewIGZalKEd9hMKm7N27lggRdYne8qgexTMb88JXDIHZd/vJEye+JYS39EfhpDtubocFrYeQXgLv8gnSdiZdm4HYs1oAipX1ZPOzfk67Whi/NjlmcIf1d5nyEYfBX+QUIh/oonoZSaY+u9qCLVhQNe0gRNxSu8z25N4+oGq/HZorM6GWbQBA4OGiptQ1kSa9tQpVGUExvkCA6t9Tp4OhQYY7bc3IteudQ0pCCDm1se3xdxSHw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5513.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(26005)(9686003)(5660300002)(66476007)(186003)(38070700005)(316002)(107886003)(71200400001)(54906003)(6916009)(82960400001)(52536014)(122000001)(38100700002)(6506007)(53546011)(86362001)(83380400001)(66556008)(66946007)(66446008)(64756008)(76116006)(4326008)(8676002)(33656002)(8936002)(508600001)(2906002)(55016003)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nhSnVeMMsw3UxEIHpC/y2fEeic7pBRUF7XxchJoNXdOWqkDF1elUl0KPGtHL?= =?us-ascii?Q?/oAI1vsqeG2zvpHj/rFZaHPETNrRw30nEC6/gLrJVf9u16QSeddmG+s+Db8m?= =?us-ascii?Q?Oeei8A5FjgLt9SIFtIMpjHViF7qEG/a8ZedEzoJuaJxGfNqmlenEfjDCMxwy?= =?us-ascii?Q?lmkpsblj86tXoCzz6L24l3PgXmwN6XF4ifahlqOWnYS4A01hUQHH/BJgpBAo?= =?us-ascii?Q?9CWIhe2YsyciEjkC4PrYu+9BCuXYuu79KmdE4WcuOF7yh4LxX/OKp338QwyE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WdeNJG437lpJKE1erPZUj0HFluKG?= =?us-ascii?Q?8Pwb+APVoZUhgZlv/DvqDTHGgB51W0ImP1wuzX/wwtcEjXZPXkQ2B/iknxgm?= =?us-ascii?Q?GGMl+d5wAoPEmwBfYqKBIWaChh8Y15vT5RGJpDNpnbLbP0ctsmH6Lulf/R7g?= =?us-ascii?Q?u7TzT4ex5gpnxBV6GSvft9+9PKwFQDKyt3+M4fP9L9UWOrYlljRpFnV1KmZC?= =?us-ascii?Q?SXdPeCnsM3FXjvP2xOTin+3UUQH5o1shXssrIw08kglEA+PwBJpgnxTqGt8z?= =?us-ascii?Q?dqCpBumu4qsl4c75aLZ0LdMdGorLw8NkPqRBIo4g3TOmnCFWpdH2/VldKsvi?= =?us-ascii?Q?ICbuJUY65nMRAgq+s3/O01h8nz7kjWQzOcX82wXe9LNpzFMOs3lVLvRpu2q/?= =?us-ascii?Q?V+qBOWKZr0Wn4Rv99ZoAI+IlaPo4y2MVV5HcBlHTN4DN+feynhup9v3TxhVy?= =?us-ascii?Q?JFqy6Ri0QMRZk6MgBEEAkTMf3GmxMRGe5I/Lx1Gg6j/YPfm35q6jbC/GbXbI?= =?us-ascii?Q?//mtofHzYt243G24FNRGxSOEct4k/6gBH2DHdqOLZRMA1qlwKePwZ2RsnShI?= =?us-ascii?Q?XvhB0U/79w=3D=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: BN9PR11MB5513.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ed02404-a495-465b-4b86-08da3488f88c X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2022 02:33:31.5861 (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: OBk08NNArEeDedxqBQU5pVmRfwcH3Ns3MLQflRLcfISqr+Mo5dQIovnoD2n0skgcoZkLTs7pegsu08KAYMFy+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3258 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Stephen Hemminger > Sent: Friday, May 13, 2022 10:24 AM > To: Ding, Xuan > Cc: maxime.coquelin@redhat.com; Xia, Chenbo ; > dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Pai G, Sunil ; > liangma@liangbit.com; Wang, YuanX > Subject: Re: [PATCH v5 4/5] vhost: support async dequeue for split ring >=20 > On Fri, 13 May 2022 02:00:21 +0000 > xuan.ding@intel.com wrote: >=20 > > > > +/** > > + * This function tries to receive packets from the guest with > > +offloading > > + * copies to the async channel. The packets that are transfer > > +completed > > + * are returned in "pkts". The other packets that their copies are > > +submitted to > > + * the async channel but not completed are called "in-flight packets". > > + * This function will not return in-flight packets until their copies > > +are > > + * completed by the async channel. > > + * >=20 > Please add EXPERIMENTAL header like this, so it shows up in docmentation > correctly. Get it, thanks for your suggestion. Regards, Xuan >=20 > * > * @warning > * @b EXPERIMENTAL: > * All functions in this file may be changed or removed without prior not= ice.