Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp79569ybv; Wed, 5 Feb 2020 01:31:23 -0800 (PST) X-Google-Smtp-Source: APXvYqy41uLZPn/J7EQKQSRyn9WmAk5117HyjH5HMHATbOaoCngUSIEP8ndt/N8kYfmAzuGRGtcM X-Received: by 2002:a05:6808:244:: with SMTP id m4mr2274068oie.125.1580895082929; Wed, 05 Feb 2020 01:31:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1580895082; cv=pass; d=google.com; s=arc-20160816; b=Q7P9f6wiC0BqIq3GcHp2TykN7HPChSN2T/nuey2tklCdUsgdUcYpGLqx+YGp6rKrR8 8jRqqN3JZ4br4VhYba9sCWUdXu/9TqkRvbw+ZDh1yBa35JSwEk7kW1DXEoyt3DH5Cb5u qeSuQjg3US5nbEGMBf5opD/gpRVEjTZo8onuJduAufa0I7VJ18h5NN+KUPQw3sPJ6N88 D5dNiZJeDB7BheRm0Xu6i6GLV9/Ujx9Zmar+ItLRq8a/AA3gP14CQz6+LiU+WBClRbu9 rDHRSPfpCogOA6JFg74lzIgpHqjyw9AvFVcNDr5cM9xJHK4kWuUFSDng7QjcpG4ubePi brlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=LGGZ0n2sFuS7wYu9oUfext/G3X3Ke7AcfcLEKxeId6c=; b=0khpQYBh7tX9GslgpIZAcwHg4/i5E6Lfhn6aXdpgqDaX01RYZehT0PsCAilVGz8rOI q1lQ+lrFn1py1rDJ97D0fq5t4+UgtRPLXSLgGJkWl383BQkwSlyA3SCwJEavCqA+vMgs XaON0VgIDK8Kyl7BBu0ftz2YQ6LIAgHeQ8gA8pBHIk/wb0nrpJUWXRV/HWzKtFPucdkg mtiblOQ/xPg6YyEiSOKZKdZC3tSrh0VEK5fjo5xcVagCCTFTn6BY8g/VleGJwm2MOvDm Jbwr+Yxp21/+ne5TnDLy2bcUt9DxliMHLXAq8ah84UCgt1CFpjIjn/JuhqFTlpehMnm0 2hzg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=C9Iytkwt; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si12994298otn.122.2020.02.05.01.31.10; Wed, 05 Feb 2020 01:31:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=C9Iytkwt; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728192AbgBEJaU (ORCPT + 99 others); Wed, 5 Feb 2020 04:30:20 -0500 Received: from mail-am6eur05on2076.outbound.protection.outlook.com ([40.107.22.76]:44897 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728061AbgBEJaU (ORCPT ); Wed, 5 Feb 2020 04:30:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l7zeaAwMwT1lCM/9ucC6VzOspfSmB7tDOEAgiY8Bfroqd18SvFm2qGhHyNu5Bw0vKj8LVCz6JBsQVEwBD1dPm0C/PgPMr1H8MS5a0eXf3DNuTAUZIdk53Xo0A7xCdFX1owDWDWSEwKN42ovZQykBedMm303VPc2YBe6Pi7YDh2xevyP/hcqE2ydT5smbcO2gxSwYgPYnLspxIzl1IRARwElm+yP3U+Ex2R/rDzjxVk6DC0wQNYZcNRH5hlQTZoKDCH7spnV7Tm/5txb26tTpNpwocKMVpbIAmeSRNUUSnxZBRUzhA3AvTpzujTm8FXUj18RVuZpMbeNzXZqBZt5idg== 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=LGGZ0n2sFuS7wYu9oUfext/G3X3Ke7AcfcLEKxeId6c=; b=F1cCdpk3DLs+pbCujbu03e3LwIDfRpEw+sHWoyXYO8JxU8kE+2SMfM0FTkDhtDr7X9HQh6IUuUWoW7f45xgpS4uBDEE2rpDC1msWBpTkSqTptlZTghrmJnHPlTgflz4fQJg2cRq26r0827pX23BqTXBGZfoB12ySlRBy1XTHzAAO6FXc2Mg81NObsKfbxPLGa78mRbbydoo+AJpJ06Q9njv2V3jl6ueHiOTLJlHxM/Q1FcAN73WoLhvIy1R8ap2X6TqeB3sXoLNxlSpYTDUqIFR+fhShFzHYO0KhDmKl0CuU1Y4okYT01Law+VGbQwSbSk6l7CHjXrGbJE2dwYBnaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LGGZ0n2sFuS7wYu9oUfext/G3X3Ke7AcfcLEKxeId6c=; b=C9Iytkwt675Y394bDgQu2xq0flffwfs2Cas0QL3BTZBzQh9x3iio9VJ1ejVxFKuuh1A1gU2nJ5EKrKEEOJVp4JbPZqmXy93JStcn+78+E4l76nWFEhALKFSG/JzGmMTP30cG80N2+U6UB1Vtaz0Y81sbFyr0d39WA6pMKSZCU7A= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3746.eurprd05.prod.outlook.com (52.133.47.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.32; Wed, 5 Feb 2020 09:30:14 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::d862:228a:d87f:99bb]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::d862:228a:d87f:99bb%7]) with mapi id 15.20.2686.031; Wed, 5 Feb 2020 09:30:14 +0000 From: Shahaf Shuler To: Jason Wang , Tiwei Bie CC: "mst@redhat.com" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , Jason Gunthorpe , "rob.miller@broadcom.com" , "haotian.wang@sifive.com" , "eperezma@redhat.com" , "lulu@redhat.com" , Parav Pandit , "rdunlap@infradead.org" , "hch@infradead.org" , Jiri Pirko , "hanand@xilinx.com" , "mhabets@solarflare.com" , "maxime.coquelin@redhat.com" , "lingshan.zhu@intel.com" , "dan.daly@intel.com" , "cunming.liang@intel.com" , "zhihong.wang@intel.com" Subject: RE: [PATCH] vhost: introduce vDPA based backend Thread-Topic: [PATCH] vhost: introduce vDPA based backend Thread-Index: AQHV1+fI0VDKiPRsCkOOQhfIRhwRFqgKZwCAgAF56YCAAFYPAIAACwUAgAAUU1A= Date: Wed, 5 Feb 2020 09:30:14 +0000 Message-ID: References: <20200131033651.103534-1-tiwei.bie@intel.com> <7aab2892-bb19-a06a-a6d3-9c28bc4c3400@redhat.com> <20200205020247.GA368700@___> <112858a4-1a01-f4d7-e41a-1afaaa1cad45@redhat.com> In-Reply-To: <112858a4-1a01-f4d7-e41a-1afaaa1cad45@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 665eafe7-a0ec-42dd-9755-08d7aa1e0195 x-ms-traffictypediagnostic: AM0PR0502MB3746:|AM0PR0502MB3746: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0304E36CA3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(39860400002)(366004)(376002)(346002)(396003)(199004)(189003)(478600001)(64756008)(66556008)(66446008)(9686003)(6506007)(86362001)(7696005)(26005)(2906002)(76116006)(4326008)(5660300002)(66476007)(186003)(66946007)(71200400001)(316002)(33656002)(81166006)(52536014)(7416002)(8936002)(55016002)(81156014)(110136005)(54906003)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0502MB3746;H:AM0PR0502MB3795.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WoJ1CAkQyMdUgmz2hxQSE0jdZF4fac17vuIYnkJ9XOhzsIiTwZ8Th+IJk08mCTykkjWNZDwYCl6qlGVYu/t0YQ49sUeShOXo452MFLyPHRJXTDY5hc+N6ccwIsFlb87JX/YJGq+OrhtUZAV5guw8QpmZtAmKieBA1WXxy6TBXT+8ul6cEk6BCyUfoTJ8jZU9PpheCFY4EpdWnXlvekFYPfpFpn6ry2i1SN5qO78K1Eo3yVWZUIS7BY8oG1IQnu47VBqT00QtTe/HScyHnj7NmGL+PDhfTndLw1eARvYuEY7Ovs53K+QM0lDwJSy7YkpnhPLLSkED08wlobvTFVR5dV1UCD6DWlTBEt0Jw8jHcReP9NjyJwu6huvRxXAlzIPMbNkOug6SK/ZJAZ+1LSWImmq+2L87aQjZQNhRIDI5v3RRAa+Pr5ouWEBbFIqAUC8A x-ms-exchange-antispam-messagedata: DugJz5w3Ot/a0/V/eTbHrdtVaTh4xFsgi8vfChrQt2FQrcMh+UX37+fmPPdFast9t+97mB1Z9xYx1rsG3Het24NhPJT1PgzP1ch2EVZw16qPd3sST9aev3GR2ZoN3NH0W5DdnvFZWsd89BruGa4Ryw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 665eafe7-a0ec-42dd-9755-08d7aa1e0195 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2020 09:30:14.6737 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i0zPoaZm0R9nBd539pICslVFAntNL66whDKHwzh80XAfoQuKeVE15Zb2HpkYGYE1BlPYIhBu7mXYaUaQAT7U5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3746 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V2VkbmVzZGF5LCBGZWJydWFyeSA1LCAyMDIwIDk6NTAgQU0sIEphc29uIFdhbmc6DQo+IFN1Ympl Y3Q6IFJlOiBbUEFUQ0hdIHZob3N0OiBpbnRyb2R1Y2UgdkRQQSBiYXNlZCBiYWNrZW5kDQo+IE9u IDIwMjAvMi81IOS4i+WNiDM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