From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 50E3EA0471 for ; Thu, 15 Aug 2019 12:47:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 373B51BEC1; Thu, 15 Aug 2019 12:47:10 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10059.outbound.protection.outlook.com [40.107.1.59]) by dpdk.org (Postfix) with ESMTP id C268D37B7 for ; Thu, 15 Aug 2019 12:47:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NOiu0dziTL+0lf+tmENeGfwIxLOuC/JLO9l89geHbPpU3krSKflVGnvj6j5SjnW/nFznih0XCOBL3QrxYB1sfhgpdv/jZkZtM0PDce5I4TEf5koioEDt5tpzLJDWS58j1vJqlSxdRXW8GnBGNIzsIpDzpZhWXWGSGA1ulrgqpaO5tj4HWeKA+zkBDtM0SOnkrWMJzYpIlHKXDqMv3eb7OKnuVndHp1E3p+cPPeo1rGYnqlBswKM4LJGqwbh5OjxYq2crLGDOgJfO63iS7LeeZCWx+5gc9kzWaXAocqrd2pCwhQm51Xuc49SHPnPMMUpTPl0XNHOMioOZ0jtfg6AwjQ== 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=6jwoZEtYFufKMUGCZAuNtyzt3p2jZ6FhCyeuo6MZjYY=; b=MUvJLBRY3hi+rNLEPtXpUUcB8+nzsbKPZz5OBfmwjfvHRkN0yTaXscbwwm6f5JeXCneHIHhJlBDWDJ9IAmTDw/R/kKa62oGIyM+J3W8y4c0jFyB4aP4BulMFkukIsVhSHk8aXd1P1OxFjissBiCcvApOqR2/zJMdEqJUKfJVQtIbAAk1ZT8pG/n9dQ4P/j/5w8khXuldeeSnpcrx8O2UtLIvhDu2lZOARr5P+h71/J1kCyBk9XK3EoJ7aiXMP7KGAU34cwT95EDnATaR0WpEajWkxpXQvi0Otx1cHGgoVDP+tHX9ZSujbui2gQUJggbx+JIlkOgkNIvoSgPKiI131g== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6jwoZEtYFufKMUGCZAuNtyzt3p2jZ6FhCyeuo6MZjYY=; b=QVM645I+cA7hU5hHw6D+UG34n2UPRc2PlAusmjN/jQihfcoja9ZqBJtfeMCVHPjQrukqcH8YdP/872XC5h6Skuxd4de0dhrlrNAjBUDA6nvITLxqrFWP24Mgcll7OTks6mQUntPpj0akhV2x/8ehOIQGHnh1MbpQxt2qNE8b5iY= Received: from DB3PR0502MB4028.eurprd05.prod.outlook.com (52.134.68.143) by DB3PR0502MB4027.eurprd05.prod.outlook.com (52.134.66.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.14; Thu, 15 Aug 2019 10:47:07 +0000 Received: from DB3PR0502MB4028.eurprd05.prod.outlook.com ([fe80::6dbc:25e4:5752:a7ef]) by DB3PR0502MB4028.eurprd05.prod.outlook.com ([fe80::6dbc:25e4:5752:a7ef%7]) with mapi id 15.20.2157.022; Thu, 15 Aug 2019 10:47:07 +0000 From: Matan Azrad To: "dev@dpdk.org" CC: Shahaf Shuler , Asaf Penso , Slava Ovsiienko , Thomas Monjalon , Olga Shern , "Yigit, Ferruh" Thread-Topic: [RFC] net: new vdpa PMD for Mellanox devices Thread-Index: AdVTTXXxAGm1g4BRQsKSQH+I+EO84w== Date: Thu, 15 Aug 2019 10:47:07 +0000 Message-ID: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [85.64.81.213] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fb1f2719-3257-4c67-a5db-08d7216deb2f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB3PR0502MB4027; x-ms-traffictypediagnostic: DB3PR0502MB4027: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 01304918F3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(199004)(189003)(256004)(7696005)(9686003)(790700001)(25786009)(6306002)(6116002)(55016002)(6916009)(102836004)(6506007)(54896002)(99286004)(26005)(33656002)(7736002)(74316002)(53936002)(186003)(71200400001)(71190400001)(3846002)(86362001)(52536014)(81156014)(2501003)(4326008)(8676002)(5640700003)(5660300002)(81166006)(478600001)(66066001)(6436002)(486006)(66446008)(66946007)(66476007)(66556008)(476003)(1730700003)(76116006)(4744005)(2906002)(316002)(14454004)(8936002)(64756008)(2351001)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4027; H:DB3PR0502MB4028.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-message-info: nz8lv6Pc/+9tT4GW5tZ4mFC0IjEL0BcxE+ClajEgldCga43CYsC+mGZqEzRrzGskQgbENVda39K06HYyS1tFlYv/O4d/+rt1QUkVXgB2QSilZIH0VSOTzADaSmFllNzkhu8mz7zh3Gvgkhf4qZxMUyYo/K7olZXD9tALOD19GIMxGg1QScLvoj2nq6H5p97zaTXS/wO/Q6scH6L0wt27JTA/sXe8mVFEUSE+FCqFQl3kMK7Ox9g/ym5ZwbOFep2XONDjM1ZmJtH2v2pEgrkbvlT8Hh0/Zf9IjiQ4N8fhH/4C6jddmemt0sCsNgkfsJ3/4Nq6cybltWNpT4rgWScNjqPsiZXZfCknJFB+YjcEq5q9PLntT3un9XgOloqcwvbH5Yu0+EowdHh4n8HsVEdF3x4/G26VNN103H1yEgx9rrU= MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb1f2719-3257-4c67-a5db-08d7216deb2f X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2019 10:47:07.4746 (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: h7yIdiqNiuEgxbY0jn2Kjt1/Apg9APhHZVGf/VaO4chwNn36PbHA+OZnAU77lWyE0AiD9o+tUKIu6IllmM8W2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4027 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [RFC] net: new vdpa PMD for Mellanox devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" The last Mellanox adapters\SoCs support virtio operations to accelerate the= vhost data path. A new net PMD will be added to implement the vdpa driver requirements on to= p of Mellanox devices support it like ConnectX6 and BlueField. Points: * The mlx5_vdpa PMD run on top of PCI devices VF and PF. * The Mellanox PCI device can be configured ether to support ethdev dev= ice or to support vdpa device. * An one physical device can contain ethdev VFs\PF driven by the mlx5 P= MD and vdpa VFs\PF driven by the new mlx5_vdpa PMD parallelly. * The decision which driver should be selected to probe Mellanox PCI d= evice should be taken by the user using the PCI device devargs. * mlx5 and mlx5_vdpa depend in rdma-core lib so some code may be shared= between them, due that a new mlx5 common directory will be added in drivers/commom for co= de reusing. * All the guest physical memory of the virtqs will be translated to the= host physical memory by the HW.