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 28F49A04FA; Wed, 8 Jan 2020 06:44:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CB811D908; Wed, 8 Jan 2020 06:44:10 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 21BA71D8F6 for ; Wed, 8 Jan 2020 06:44:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jan 2020 21:44:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,408,1571727600"; d="scan'208";a="222843855" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga006.jf.intel.com with ESMTP; 07 Jan 2020 21:44:07 -0800 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 7 Jan 2020 21:44:07 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 7 Jan 2020 21:44:07 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.197]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.132]) with mapi id 14.03.0439.000; Wed, 8 Jan 2020 13:44:05 +0800 From: "Xu, Rosen" To: Matan Azrad , Maxime Coquelin , "Bie, Tiwei" , "Wang, Zhihong" , "Wang, Xiao W" CC: "Yigit, Ferruh" , "dev@dpdk.org" , Thomas Monjalon , "Xu, Rosen" , "Pei, Andy" Thread-Topic: [dpdk-dev] [PATCH v1 0/3] Introduce new class for vDPA device drivers Thread-Index: AQHVuza+DlyHibZbkUWWXKAfhQXAuafe6UfQgAFsDgA= Date: Wed, 8 Jan 2020 05:44:04 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D73AC77B3E@SHSMSX104.ccr.corp.intel.com> References: <1577287161-10321-1-git-send-email-matan@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWU1ZTkzMDYtMjk4Ny00MzhlLTg3MjAtODAxNGFkOWM5OGI3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibU9SZGRCc09abW1iSU5pcksySHB6YnlxQjNsTG5EU2Y5VG1pYmVCS09RVW52WDFIRWx6VklaazRtdXRQWGQ3cCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 Matan, Did you think about OVS DPDK? vDPA is a basic module for OVS, currently it will take some exception path = packet processing for OVS, so it still needs to integrate eth_dev. Thanks, Rosen > -----Original Message----- > From: dev On Behalf Of Matan Azrad > Sent: Tuesday, January 07, 2020 15:57 > To: Matan Azrad ; Maxime Coquelin > ; Bie, Tiwei ; Wang, > Zhihong ; Wang, Xiao W > > Cc: Yigit, Ferruh ; dev@dpdk.org; Thomas Monjalon > > Subject: Re: [dpdk-dev] [PATCH v1 0/3] Introduce new class for vDPA devic= e > drivers >=20 > Hi all >=20 > Any comments? >=20 > From: Matan Azrad > > As discussed and as described in RFC "[RFC] net: new vdpa PMD for > > Mellanox devices", new vDPA driver is going to be added for Mellanox > > devices - vDPA > > mlx5 and more. > > > > The only vDPA driver now is the IFC driver that is located in net direc= tory. > > > > 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. > > > > 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 the vDPA class. > > > > Also, a vDPA device driver features list was added to vDPA documentatio= n. > > > > Please review the features list and the series. > > > > Later on, I'm going to send the vDPA mlx5 driver. > > > > Thanks. > > > > > > Matan Azrad (3): > > drivers: introduce vDPA class > > doc: add vDPA feature table > > drivers: move ifc driver to the vDPA class > > > > 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 > > 100644 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 > > > > -- > > 1.8.3.1