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 71C20A04F6; Tue, 7 Jan 2020 08:57:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0542C1D941; Tue, 7 Jan 2020 08:57:08 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2063.outbound.protection.outlook.com [40.107.22.63]) by dpdk.org (Postfix) with ESMTP id D525A1D93D for ; Tue, 7 Jan 2020 08:57:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G4PFwuQhk3dGJs0nwXe/1CGoRHHhlRQZu8TZ0oTXqbGm4EU1sS6yIhP2eBmX0jNgH6bLaJv+AgSu/FVcU/8/0pWYiQJWrRS/r5gVzx9q0R+z5cmkAVayAJCQPJtO1Gd4nCMpgJchrVcM0on92/XLVdjgfOgHCYwIoCINyLOmr7EQxgRhV8wp0ua9JLRELkfYda0wFsjamZ5mNQEnXsA+rgZzsFQ508sQo+wdsP2Cr5pOIRwdCm1DW1vf0Sf8jU+ezEVSjtitvKBpsr7AKG1AGb+Z/8EUkFqVwduxcOzcruczspoRuwbapUAuHm3+jNUN+l8DZpg51V2w5ipxMOMwbQ== 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=JWSpoII2xrn2+9s8sRhS3ahqPYF8b0igHbPxZMaByuI=; b=Irdj63H8lGSomhGXPNCZli4kqbqaCs7fSwj/0X57YnUrogk6ymYMpImB8EKf0UbCHEezChLnLqyYJHXQP21jYVUOBloh9q7qb6/3kpAm5V/zl5Wm1xaXea92qDAi00NZWddStzH7Ld3TNBl05HJSnKWW59QQ0QMl7nj2fVfkR5QmvS9VeXQ8WvLYEDsuzR7qYgy1d0V9X2IJJ/y6ECakTBe7W6Cpfm4eRv8Vhatb0kkFUu9W+pYTRS0WIzeZkl60IHBn2rJ1bo3rlifxLGu66KrI1QQrQnJ28VplP+9gqwWaVuYPEf8W3TO0QBEx543QoGUK8SI3AJMf2m0ioouNRA== 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=JWSpoII2xrn2+9s8sRhS3ahqPYF8b0igHbPxZMaByuI=; b=ZQjy8jTdjzjLLQ/bsZAFuwgolfP/77e7YBvflFdV0x1vxuQdj8+w+vsTwbORSu9FmXIvu2XkwA1KWWZLYxO9T9tpPZSpfY3JIakX3CDows/WCRa1uvegz3+IjpZ2TlPAvlsOODzhEGaBj8o8zIZtZ1xZKrk8R52Eaj6bcRBvZ1U= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3716.eurprd05.prod.outlook.com (52.133.46.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Tue, 7 Jan 2020 07:57:05 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2602.015; Tue, 7 Jan 2020 07:57:05 +0000 From: Matan Azrad To: Matan Azrad , Maxime Coquelin , Tiwei Bie , Zhihong Wang , Xiao Wang CC: Ferruh Yigit , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v1 0/3] Introduce new class for vDPA device drivers Thread-Index: AQHVuza+DlyHibZbkUWWXKAfhQXAuafe6UfQ Date: Tue, 7 Jan 2020 07:57:04 +0000 Message-ID: References: <1577287161-10321-1-git-send-email-matan@mellanox.com> In-Reply-To: <1577287161-10321-1-git-send-email-matan@mellanox.com> 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: 3ca500cd-9f22-452c-a763-08d793472fd2 x-ms-traffictypediagnostic: AM0PR0502MB3716:|AM0PR0502MB3716: 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:9508; x-forefront-prvs: 027578BB13 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(39860400002)(396003)(376002)(346002)(53754006)(189003)(199004)(71200400001)(66946007)(2906002)(186003)(76116006)(26005)(66476007)(6506007)(66556008)(7696005)(66446008)(64756008)(33656002)(86362001)(478600001)(52536014)(5660300002)(316002)(55016002)(81166006)(8936002)(81156014)(9686003)(54906003)(4326008)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3716; 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: Eh8Jn8V13094+6bQUdvIUlxIpPJPZsdxqxqhVUqVr31ecCelp2uap5N6cIEQhyu3WMyF1a/L/ShQ+fXNj6ypbW7LlRE2sKiEITTA4WywhbkFCuhDK7Z5b9hzihXHtbLl5eyAQ0gRF1oCQlQGTPTwkr1Z6MoSc+Vlkcpk9Hvgf3OeabN6YhMUvCq+/Zqm50UceOkI8o5kGOC6V4d0TP9PAT2W9ow5XlhuRby7DfJOkot3XCaSkSQKIhFcy1adr4p+wPntndlbV9Htc6VPy/7lrp3CV6ECmfsyMWsUCZFyJLOAw/TTyjsqsrXtXO+roBms+S+INB27snlqnROS3N77fY9QZnuslmPm4w8c3VMH5wQ0F9AqFzk12cBNYsg6Q5S5yFGgKnRvx65cSahpOitPocvzpIZnYphTbd3PecufPzPPPPXmmOu6cId6LZQM2+Fo2eLVl8CxylFq16po55jtU1ud7qkeyBm3lngTPgdQj/PsLUvb/wd0YH8TWdmOqVhM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ca500cd-9f22-452c-a763-08d793472fd2 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2020 07:57:04.9690 (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: e/jClg7iGZ9TaBktQH/enlnbkw9z4BiJwcF18bEYP1LUcxXNMfbFpg4kABiZE8g+AmFCvsSac368jPmhMkfIwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3716 Subject: Re: [dpdk-dev] [PATCH v1 0/3] Introduce new class for vDPA device drivers 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 Any comments? From: Matan Azrad > As discussed and as described in RFC "[RFC] net: new vdpa PMD for Mellano= x > devices", new vDPA driver is going to be added for Mellanox devices - vDP= A > mlx5 and more. >=20 > The only vDPA driver now is the IFC driver that is located in net directo= ry. >=20 > The IFC driver and the new vDPA mlx5 driver provide the vDPA ops > introduced in librte_vhost and not the eth-dev ops. > All the others drivers in net class provide the eth-dev ops. > The set of features is also different. >=20 > Create a new class for vDPA drivers and move IFC to this class. > Later, all the new drivers that implement the vDPA ops will be added to t= he > vDPA class. >=20 > Also, a vDPA device driver features list was added to vDPA documentation. >=20 > Please review the features list and the series. >=20 > Later on, I'm going to send the vDPA mlx5 driver. >=20 > Thanks. >=20 >=20 > Matan Azrad (3): > drivers: introduce vDPA class > doc: add vDPA feature table > drivers: move ifc driver to the vDPA class >=20 > MAINTAINERS | 6 +- > doc/guides/conf.py | 5 + > doc/guides/index.rst | 1 + > doc/guides/nics/features/ifcvf.ini | 8 - > doc/guides/nics/ifc.rst | 106 --- > doc/guides/nics/index.rst | 1 - > doc/guides/vdpadevs/features/default.ini | 55 ++ > doc/guides/vdpadevs/features/ifcvf.ini | 8 + > doc/guides/vdpadevs/features_overview.rst | 65 ++ > doc/guides/vdpadevs/ifc.rst | 106 +++ > doc/guides/vdpadevs/index.rst | 15 + > drivers/Makefile | 2 + > drivers/meson.build | 1 + > drivers/net/Makefile | 3 - > drivers/net/ifc/Makefile | 34 - > drivers/net/ifc/base/ifcvf.c | 329 -------- > drivers/net/ifc/base/ifcvf.h | 162 ---- > drivers/net/ifc/base/ifcvf_osdep.h | 52 -- > drivers/net/ifc/ifcvf_vdpa.c | 1280 -----------------------= ------ > drivers/net/ifc/meson.build | 9 - > drivers/net/ifc/rte_pmd_ifc_version.map | 3 - > drivers/net/meson.build | 1 - > drivers/vdpa/Makefile | 14 + > drivers/vdpa/ifc/Makefile | 34 + > drivers/vdpa/ifc/base/ifcvf.c | 329 ++++++++ > drivers/vdpa/ifc/base/ifcvf.h | 162 ++++ > drivers/vdpa/ifc/base/ifcvf_osdep.h | 52 ++ > drivers/vdpa/ifc/ifcvf_vdpa.c | 1280 > +++++++++++++++++++++++++++++ > drivers/vdpa/ifc/meson.build | 9 + > drivers/vdpa/ifc/rte_pmd_ifc_version.map | 3 + > drivers/vdpa/meson.build | 8 + > 31 files changed, 2152 insertions(+), 1991 deletions(-) delete mode 100= 644 > doc/guides/nics/features/ifcvf.ini > delete mode 100644 doc/guides/nics/ifc.rst create mode 100644 > doc/guides/vdpadevs/features/default.ini > create mode 100644 doc/guides/vdpadevs/features/ifcvf.ini > create mode 100644 doc/guides/vdpadevs/features_overview.rst > create mode 100644 doc/guides/vdpadevs/ifc.rst create mode 100644 > doc/guides/vdpadevs/index.rst delete mode 100644 > drivers/net/ifc/Makefile delete mode 100644 drivers/net/ifc/base/ifcvf.c > delete mode 100644 drivers/net/ifc/base/ifcvf.h delete mode 100644 > drivers/net/ifc/base/ifcvf_osdep.h > delete mode 100644 drivers/net/ifc/ifcvf_vdpa.c delete mode 100644 > drivers/net/ifc/meson.build delete mode 100644 > drivers/net/ifc/rte_pmd_ifc_version.map > create mode 100644 drivers/vdpa/Makefile create mode 100644 > drivers/vdpa/ifc/Makefile create mode 100644 drivers/vdpa/ifc/base/ifcvf= .c > create mode 100644 drivers/vdpa/ifc/base/ifcvf.h create mode 100644 > drivers/vdpa/ifc/base/ifcvf_osdep.h > create mode 100644 drivers/vdpa/ifc/ifcvf_vdpa.c create mode 100644 > drivers/vdpa/ifc/meson.build create mode 100644 > drivers/vdpa/ifc/rte_pmd_ifc_version.map > create mode 100644 drivers/vdpa/meson.build >=20 > -- > 1.8.3.1