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 A626BA00C4; Sun, 24 Apr 2022 04:02:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A34F40042; Sun, 24 Apr 2022 04:02:46 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 24BAC4003F for ; Sun, 24 Apr 2022 04:02:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650765764; x=1682301764; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=l/IRGETt0ShS09gAc/e5K3sVXWy87tAHiN4GQ2ND+7Q=; b=cVXjWJDOyhakKDWFeiTF3py+JrlvPx6/k49ZHm8q+OKZRDdq4Y6dOYmO e3ctOyiW/hSPALszf1uYoT7EGNurF+cIkWHvfjy/bMH+fklBDGNKOvMk/ 4Np/YsMeiChdr5ler+gEXzaIqEmGc235KdBZSF5qIKAiTAuQpVJn7AXD0 M05l4WwSkWDSlfZ2b1lcGvg65Bpb2TtRt7iD40N4CXXPgPLZXxJ+KX22n Oxu/Z4pp2BSz4TsoE1ouTAZh3kH/JrtVEcaT81rVQWTk2VyvIoeFBaxNt Kb+te5dOHlw6k0+f+YuzSgPVVLvuD6uOHgPwAhEdBrYvB4BepqYsqrpk3 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10326"; a="327901643" X-IronPort-AV: E=Sophos;i="5.90,285,1643702400"; d="scan'208";a="327901643" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2022 19:02:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,285,1643702400"; d="scan'208";a="535880793" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga002.jf.intel.com with ESMTP; 23 Apr 2022 19:02:43 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Sat, 23 Apr 2022 19:02:42 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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; Sat, 23 Apr 2022 19:02:42 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) 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.2308.27; Sat, 23 Apr 2022 19:02:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BspZOBT9Pz3mYc5h69oNKRZvTAnMAsAX96Kjdzof4NBI+Y7D3Xd+WPDVruAkb3YBYtEv1lCU+tGsUeZ2sqEXf0gPTsJ+gmDro6+iA4WeGn0j3Q9V4lHrv43nCsndeM3+exBMGyZUD7MASgidPwC9pRc4gu8bP8dkjg0b8Qsq7O+C9QF/vpAcx3HkHDgDIDTpQ2m3ag9SRc+54Bd6cwG9L4FsxqygfV4JA8kiY6jYpAzYlU9E7i+MQW2Z/uU5eLqon/HXTzI/vguXpWo0cgtOQT5PSfqN6wbvaWrm0ucjA7E4dyzVMp+EAzpVfYN623avCgNnVCA+SG+xVgIu0JkZSw== 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=l/IRGETt0ShS09gAc/e5K3sVXWy87tAHiN4GQ2ND+7Q=; b=WENKyN2Nzey8l12INWA369ea7gqe/hM+QSNKor1AU+KCWJccbO35oBaUpOaM4vrzUc3XUaAbg3mGP3t85jXx33r+ia2vFFfhxhkpmLPanJb/5NGgS+NKRW9FZlqBNYGLEtiOMM+KoV4IWNFJRHW/dxFwz/Yv2Dm5NBEOL7JXU5HL0sRUgjeh/+4o9P10xedW7Rgha5OEXuwl6xHfJcFjtHvWwd3voBsaJ6Jx0mJhSMgpOm6I9vZp2Xz2w+pS1oQtDO57CMbJ4fDoHYJ8QOjvaUqz3lMOlP9+e+RxGmMhQt3G3Dq4CnGaXCfiOJwfMTqWN58woQpba1BmIRv2kzFJIg== 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 DM5PR11MB1564.namprd11.prod.outlook.com (2603:10b6:4:d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Sun, 24 Apr 2022 02:02:41 +0000 Received: from BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::9147:90d3:4ea2:7838]) by BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::9147:90d3:4ea2:7838%6]) with mapi id 15.20.5186.020; Sun, 24 Apr 2022 02:02:40 +0000 From: "Ding, Xuan" To: Maxime Coquelin , David Marchand CC: "Xia, Chenbo" , dev , "Hu, Jiayu" , "Jiang, Cheng1" , "Pai G, Sunil" , "liangma@liangbit.com" Subject: RE: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling Thread-Topic: [PATCH v3 3/5] vhost: merge sync and async descriptor to mbuf filling Thread-Index: AQHYU5/ckgGVfTA9v0CAQxT1QkK7Gqz7ytUAgABOGACAAjvq0A== Date: Sun, 24 Apr 2022 02:02:40 +0000 Message-ID: References: <20220407152546.38167-1-xuan.ding@intel.com> <20220419034323.92820-1-xuan.ding@intel.com> <20220419034323.92820-4-xuan.ding@intel.com> In-Reply-To: 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: ac610276-1f7a-4b70-7023-08da25968394 x-ms-traffictypediagnostic: DM5PR11MB1564: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: om/CN+klwLVefNH00yFSJOeh7xiShCD0w36gZRrmD02ak2MbwQE/N3lnSSchY3mb6SUILdrxAIYrYyaXq7L/rNE2r8DpgDkiOBgzPmcXC2MwEFXzRvf6aS2sdrX7zsMyeNpt+Zsn1UrD+jVoTe3M+aJNIcI0vFzCeuC0aCAfSFoR4sEdL2/P7b1qy49gcwBkBIvGofYs2akTNSupSDxlFtzNk6ncYdwbCJoIkqcmmYLXdXGSRhvPs55VPkOaX+fA7Rj+MANWEnxwYgYvj9hTVwPljgdZeTLPHCe6E7Km2i58hgzYmUaQzp4NTJ8mGnSrzexzC+BsNH8dw2qHfx1JeNbxQDst/eLfs4SDQDvC68dKdMgwJ+cwHCrgU0+QifI8AURV9vRaFBAG+qKM2QDYKgtesIujdYs9FSqd3Iaz0D2M1tksm0zZmPj3DI1D7kXwCc/pZUnQfy+d05qkElCe5QV/+Eui6CVtl5HGVAkCEf1EykrelLXySm2PyuxpJSaZHVd2l8t5SFj0gDXAUhhZZK3IhaaafxAjDERJaOYAx1ht1stDFf9a1Bg3bn/KVdJqw4lgYHpVQm2sQhSborCAG0qZRs5BW6IBWj38q8zXgqMr2Mp7tgNeJLuYkLHhfkum28QsvwIUsurvfyGdQ+KDRzWn3WViODj3QiqhiUhBc5IKCorY9dYAo4oncsYnJ5hPnqTfgZ0F+aJvRKY7/Btgiw== 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)(2906002)(122000001)(8936002)(52536014)(38100700002)(38070700005)(5660300002)(83380400001)(82960400001)(33656002)(4326008)(316002)(66476007)(66556008)(66946007)(71200400001)(66446008)(8676002)(76116006)(64756008)(55016003)(54906003)(186003)(110136005)(86362001)(26005)(508600001)(53546011)(7696005)(6506007)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dFFVRm9tc0JFSTNEMitRM0gwZmNrK1Q5RmVBNmRPTW9yVDBtRlZVRStyd3hp?= =?utf-8?B?Vyt3TmVjY2hpL3R2bGFaSitrcmV4aFFSZDNOSGdUNTFIVFdYWlZwbU5Yc0FG?= =?utf-8?B?bXBxUzdBMnczclA4aGQ2eEdVTDJZRXYwajYvdmErL1dPRUxpWG93RlBDejh0?= =?utf-8?B?eGNMUzVLQVNWMUVpR3FtZW9UNnVpNWtGNFRUcWR5ZlhVUS9lOS91cHc0SWFj?= =?utf-8?B?WmtCeXg1QllvMmtJdlVBajdqckFONW5CK3hLcHZoK3lPS2ZTK2RmK1VMb1Js?= =?utf-8?B?K3lGR2ozK29zcWpEa0RiRnpJRE5hcU5KMlI4SVZ0VHN4b1Nnd2hFd2VmQzZ6?= =?utf-8?B?Y0hqVXZZOFRzQUVHMmtnbkliZFc4M2VocENxV0N2QU8vTzdPbk93WnF2NTdG?= =?utf-8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T?= =?utf-8?B?RW9HRlJpeFUrUStOYXJqMlZlUUQ2aEZ1M2xVRGNlNlZTcTNWVG1KV214bHF1?= =?utf-8?B?d0UreVFaM3hsUExLRFhNNzVTQytUaWg1VXhzWmE4bXdzZjNmNFpwUT09?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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: ac610276-1f7a-4b70-7023-08da25968394 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2022 02:02:40.8743 (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: iSr5EkY5Grjafx/TJ/VSiQlk5j6r/5snxf/lNsbEJ0f6amP2O7EHGipxutE8gU0/DQttUBQqaeoDOhFKS3aL1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1564 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 SGkgTWF4aW1lLCBEYXZpZCwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9t OiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBG cmlkYXksIEFwcmlsIDIyLCAyMDIyIDExOjQ2IFBNDQo+IFRvOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT47IERpbmcsIFh1YW4NCj4gPHh1YW4uZGluZ0BpbnRl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