From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0D891A09FF; Thu, 7 Jan 2021 07:51:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 928CC140E91; Thu, 7 Jan 2021 07:51:01 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 33997140E85 for ; Thu, 7 Jan 2021 07:50:59 +0100 (CET) IronPort-SDR: naeJrp7oolagl2k86B8psWU+JJL8SrtQPZCZMEhcUEvY77xFjvN4zcQCtJgaBx8yFMVmthlenp 6xOCm4T93K3A== X-IronPort-AV: E=McAfee;i="6000,8403,9856"; a="165081843" X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="165081843" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 22:50:57 -0800 IronPort-SDR: l7XA9LmL/vingzrU26qCIU+higE0AgZ1Yyw5+D1JCjkxVn1Es+rYJ8J8pZFE3k2iP/qK+aqQFR fZYvZIuRomtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="422466928" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga001.jf.intel.com with ESMTP; 06 Jan 2021 22:50:56 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.1713.5; Wed, 6 Jan 2021 22:50:55 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 6 Jan 2021 22:50:55 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) 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.1713.5; Wed, 6 Jan 2021 22:50:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wi1kWdYYMelBM5T2YhzYEMwdXO2sBURbrHG/LvtSwy2KmHsJPZzINRPdHwkW0ec0EWH1eAYlA1f6kYck2TUZ+r+zKorz85LmZWoDJ1LH5pOAW+5nPbBDcK7uyo3n2z4R7iyWEfRH6CLn/hKYP8L28nbL9hFAypZE5LJ6wR3k5OL4DYsRQdMJxS72SgxgF6HA4XPHBMHVFzpNU1jz9Q825rhMXc5+Yl6GU7d/6n8fFaeH3ik62GscDPmjhsrZf8pQEgqlNyJF/dILoAzGGPdIxwIfknE4c2hSTnXs3/8ZzqaNkpolCvf1OWejxXRsF+XuBsR1MMNzTuT+gJ62y6YVyQ== 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-SenderADCheck; bh=xhFa/UD2DmTYbv+v3tCbPpBeBNez6ALVepU39oTnwA4=; b=hakFDYPBmmyeu65feLfybPWDDuPKjhTTsZ+OAXfngca2NDeJ2ZsBtUSfTnS53Mw41l4FHcMNbW7vCTNLsA3OIo/PUqkkvnJPlbhggKLjGVFsbT6YswoZ545wYohyKAykzXTgIOkuLeLfetSJVUJDwA2Umz4J7qS+fy4lixuTUX1AVXE4mjW3ZLWrKIdOm8WVIgK1pGrlqKjqxoZDjcsrZAR0V7cBMIRC6tAmmn0R387H7jCXj0fv/P/eAMoHvdge76K0lIZiv/J+6XuOPVeQITx9G8pDDttiptjrEXVkmUYNmrY6ilPlxABfzQs+2qk0nrpGXGpLuDJgcqgVJb0URQ== 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=xhFa/UD2DmTYbv+v3tCbPpBeBNez6ALVepU39oTnwA4=; b=hNE/YM3WShQn9A7PMU7a20j9meAkgjoO8eaU74vHQO+N773UmIjppjOCqgJsgcndzaHZgTnxrDA78T7Tin7lW3aXl39NBbEQ8qBzAkKETAxpUQGhJ8EsumSWDNhqKlC6eMSOJEzHueG6lU6MGeQUbZjg2q2cZlwu3zMNxdxwYA0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3600.namprd11.prod.outlook.com (2603:10b6:208:fa::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.24; Thu, 7 Jan 2021 06:50:51 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272%7]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 06:50:51 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 40/40] net/virtio: move Vhost-vDPA data to its backend Thread-Index: AQHW1xV237U/jaZntE+peEHnjmrxzqob0qmw Date: Thu, 7 Jan 2021 06:50:51 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-41-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-41-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: afdd2991-358b-4063-93dd-08d8b2d892d5 x-ms-traffictypediagnostic: MN2PR11MB3600: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:65; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ssHhLm9lUM5yQUtyD9hJYaWjFcsLbtIsz+e/jlOPx1fe+Wbs5gLec0LdfJIk5Gy5YPReyjk28am6fOfULbHMKu8DS0x9mfituYMKsMBV0Jb7bJEisbmJ7Ey5GuIG4LwBkT3BblJh3jdPYZQTAo66hluqHKCxOWltuoiiH3XaF4ld00W3vTgllMVLmfQnqCCOGeXarronD+uvWjpgXVGgAU+VlMekZaMNk481haWxqCmrJfnqRktLudHeQdTs25Bbg3Qhkwco0o1XKS4dBTsuaRbBxUae5d/TW/0/laPBs64fKWLcvoFhVhiaXYzcl0+n8SBVSr5cs8jRYTKIp7f0ni4c5izQr6i2sLChWOkHx2p4QkQ15ttt7LT4fvcFTCDBGO7Ow7NSRDjhloQAOt7edw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(376002)(39860400002)(396003)(136003)(6506007)(86362001)(26005)(33656002)(8936002)(9686003)(5660300002)(53546011)(71200400001)(316002)(186003)(83380400001)(66946007)(110136005)(66446008)(478600001)(66476007)(66556008)(64756008)(76116006)(8676002)(2906002)(7696005)(55016002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antisp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RHRya09C?= =?utf-8?B?R3FzMzdnR3A3ZVpDMEdJYTF5dW5NOTE5SlJUZGdRNDd2TldpeTl0bTFUTEx3?= =?utf-8?B?cWpSQU85aS9TKytKYnRNWGxHT1BXaEh1VDhpYUFPVVVFNis3UUpTMVRFNGhs?= =?utf-8?B?d3J5bnF6UFJVOVVNTzFIWEpPT3JlRGk4ajhzdU9YTUpXSjZqaDRwK3V6VFlM?= =?utf-8?B?MnRiUDJ1QnNnZjgxTDhDVHR6VXlEdEZBODgybzZmbk50WWhSOFdkT1BYcXZY?= =?utf-8?B?bWE3MWVEMzBZbEtVRFJ6NENKZW5BY1BoejdaKzQrQUJzbW5PQThrVElHNHVP?= =?utf-8?B?VHNpRTQwRG91TWZQTGdXTkxTSUEzWlhvQTVTSkdKZ3RJQUN5MXNNbFMxWXdZ?= =?utf-8?B?M1NtdDBZWHFTcnpVU3Q0STZuQ3U0MEc3UERxaGQyaUorWDNsNUdvRWdwZkc4?= =?utf-8?Q?XdqGvvvEWO9E0=3D?= x-ms-exchange-transport-forked: True 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: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: afdd2991-358b-4063-93dd-08d8b2d892d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 06:50:51.7956 (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: OiGCuj1JohozfhnpUY68fJiFI/qnstZJaE0tDh6XOoZnG6w08YM0/IUL//xcozbsXJrM1dnqFFrDyBSFAolBgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3600 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 40/40] net/virtio: move Vhost-vDPA data to its backend 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IE1vbmRheSwg RGVjZW1iZXIgMjEsIDIwMjAgNToxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5i byA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+OyBvbGl2aWVyLm1hdHpANndpbmQuY29tOw0KPiBhbW9y ZW5vekByZWRoYXQuY29tOyBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUg Q29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0gg NDAvNDBdIG5ldC92aXJ0aW86IG1vdmUgVmhvc3QtdkRQQSBkYXRhIHRvIGl0cyBiYWNrZW5kDQo+ IA0KPiBBcyBkb25lIGVhcmxpZXIgZm9yIFZob3N0LXVzZXIgYW5kIFZob3N0LWtlcm5lbCwgdGhp cw0KPiBwYXRjaCBtb3ZlcyB0aGUgVmhvc3QtdkRQQSBzcGVjaWZpYyBkYXRhIHRvIGl0cyBiYWNr ZW5kDQo+IGZpbGUuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBNYXhpbWUgQ29xdWVsaW4gPG1heGlt ZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiAtLS0NCj4gIGRyaXZlcnMvbmV0L3ZpcnRpby92aXJ0 aW9fdXNlci92aG9zdF92ZHBhLmMgICB8IDc3ICsrKysrKys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