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 5EBE3A04F2; Thu, 5 Dec 2019 14:26:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F396A1BF8D; Thu, 5 Dec 2019 14:26:40 +0100 (CET) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80057.outbound.protection.outlook.com [40.107.8.57]) by dpdk.org (Postfix) with ESMTP id D58101BF8B for ; Thu, 5 Dec 2019 14:26:39 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWXup8Sj5Hj84USx4xJkyEKUAQY8p87SYsN0pzN6mZfHFO3hdXe/VkuPbCe1YcAznorrzFFCnbLIVUIjRq9jDW8mNZq4EpV5OevEpAWlk4JM9tGODpR8yDvHkHZHwASM5VHQqDBta/qfgfUl31OQlrSbQLl8xa1BPwob+zbSGXRKZhxPmelU4jX0ZvxJ/zd8UmiyJDPD+fZgt45Byzd2zVUS7DNUxpfh9MpqbWL2ZjEy/1SJc8vGIbRt+1G/KYzFX3Ue3kWzELU57Hk2cRIedERpRDIinZBEARnu93KwAoIqOhWJtVt1N6NPsrKH+68MM2SJJwZBBQXwpVDKziVrVA== 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=Q9asUnMsqjfmqqbvNYhqudPoiuwYymdrlY/ENfMh9kU=; b=Y67+q0FKiI9FmKfokDdlHCOm6VpaxSUQCCMZMSPY4yanBhzesvPG2/atqEbNRJ88HGUql+r5aMOIWx9NGfrxnqX7HMxQVX55FJp1jP3Pn5WDo4dttoEK5zlqjwO1GMolZ5imJLPyFRaQ+TlbjfLcVPIobz3vqcNrQnfYYWzH7dD6boo/XZaXVc1JuwdX3fyvWb+KtpRzB+fJ/vBwoEsDEyr89VK35CJkQFHQU+qzsyLY+4uApLPtYqn507cGeiE8DNFY+gjPDOjxyAIoJlcvKJ/vaUqxjoK6camdRludUQQDOLIYbkV7P4sxVrRw0aX7Un8cGdG4pckV2P+suw7Y4Q== 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=Q9asUnMsqjfmqqbvNYhqudPoiuwYymdrlY/ENfMh9kU=; b=eVTLaioBxI3McDNXvslcGSppPAhZ6wW9wdM56utmpCKeRClKnITgm88m+SiHVF4XdUToy0U3HEvqObeJb5ZyGeNolJ18e5/ofIqhxVoDEij4OHBX3QUgbE2MeV1OdbEWX/CapEFTK8oc2rVIbE1pA8ZJ8UVP2/iis7Tclui7nIg= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3892.eurprd05.prod.outlook.com (52.133.50.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Thu, 5 Dec 2019 13:26:37 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::6008:b453:cb1c:9445]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::6008:b453:cb1c:9445%5]) with mapi id 15.20.2516.013; Thu, 5 Dec 2019 13:26:36 +0000 From: Matan Azrad To: "xiao.w.wang@intel.com" , Thomas Monjalon , "maxime.coquelin@redhat.com" , "tiwei.bie@intel.com" , "zhihong.wang@intel.com" , Ferruh Yigit , Shahaf Shuler , Ori Kam CC: "dev@dpdk.org" , Slava Ovsiienko , Asaf Penso , Olga Shern Thread-Topic: discussion: creating a new class for vdpa driversxiao.w.wang@intel.com Thread-Index: AdWrb4MuZAzWYxCvQo62v8jcxBatZQ== Date: Thu, 5 Dec 2019 13:26:36 +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: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3bcfb670-cfe4-4c1b-85a9-08d77986c0d6 x-ms-traffictypediagnostic: AM0PR0502MB3892:|AM0PR0502MB3892: 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: 02426D11FE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(136003)(366004)(39860400002)(189003)(199004)(53754006)(4326008)(71200400001)(478600001)(54906003)(107886003)(26005)(186003)(74316002)(6636002)(81166006)(86362001)(102836004)(33656002)(7696005)(6506007)(222073003)(110136005)(316002)(4744005)(99286004)(66446008)(5660300002)(25786009)(52536014)(71190400001)(66556008)(64756008)(8936002)(9686003)(790700001)(2906002)(66476007)(14454004)(55016002)(76116006)(54896002)(8676002)(66946007)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3892; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: Ikj6Y2r+DVyydKhphfUGJ5ZzHiCa7Iq7D8aZpGPc0Zzzk7xSSH47Ed1KNbvMdQh2fJI5UFHlkIVpKbSZLKZ+WRsw7SuS7zgSWPImEr3ltAhpeywIRzbyD0/ZjqSFjQJbtwRFmlrT0eFJZTKCXrJhAx3iOMT/6tUDvl7b2ofQhCexe/2FvCniiE97TBGJZmpNH3LqkAxl+86EziANlWDxk+Mh7x9E83D2LW6BKv+DHwPPplxTiu4WiW3/pRym385kaEwWBhUyGanKwTL7EARu+efLOuPradQEL7hXMLyv9hiFv5F48PFdClli+nN5aD9ThrU8wv4et6GbHgo6RRwCC8AsVb5r9/V7PKM7kF4pkwgaWgkPH3XHVSzwcYn+C9nLq6992mVy3Ny7Izp+7v1+P7EW+xKYhg6glR/C9n6myTcbrTLuryemg6NZsOVH2TbFmhZDqFmcxYT7H8KLHCM1XB+0qqiBLnQCwYr0o2S0i1A7Xfp1F8doAKDcW7f7Qn20 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bcfb670-cfe4-4c1b-85a9-08d77986c0d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2019 13:26:36.3447 (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: wizzDDWyDxmdMPy0FyAaGD2HPo4ogKdSsU1QFRMxkXRQZkiQvYIPlJnqM6vOhspyqZUrV1dNAB1Rnxpw88T2rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3892 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] discussion: creating a new class for vdpa driversxiao.w.wang@intel.com 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" Hi all As described in RFC "[RFC] net: new vdpa PMD for Mellanox devices", a new v= dpa drivers is going to be added for Mellanox devices - mlx5_vdpa The only vdpa driver now is the IFC driver that is located in net directory= . The IFC driver and the new mlx5_vdpa driver provide the vdpa ops and not th= e eth_dev ops. All the others drivers in net provide the eth-dev ops. I suggest to create a new class for vdpa drivers, to move IFC to this class= and to add the mlx5_vdpa to this class too. Later, all the new drivers that implements the vdpa ops will be added to th= e vdpa class. Will be nice to see your comments. Matan