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 D5485A04FA; Wed, 8 Jan 2020 11:45:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DC731D9CE; Wed, 8 Jan 2020 11:45:39 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150054.outbound.protection.outlook.com [40.107.15.54]) by dpdk.org (Postfix) with ESMTP id F2AC81D9B4 for ; Wed, 8 Jan 2020 11:45:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bwrsQOIRw/Id1m/klpNG41fWh9xtxcRQ3U5DUQGhY3H3I0RnJhWezjThJi6+bEdNj4a6GU4HrX2DiFG4JGu/rN9uEwmxJPfwuA5eEWZ4LHjgBPhR6EtxHQedtt1le4wK4XyKMjZv6l7YTlALS5EEc9NFCnfLZAyyncGuRMKG6/ct1qb6BVudDew8JxW0KCsLI3sqjlqfnVc61lLpsSKlenQE9ABAjYdGdK92J+qOp/zKUQUKHb2QY66fZCnCxajq1/0OnFGSvqv1C2DWp8GP7bwE1iDVlU4tQ6Ejf59oWIR9sdEne7dWSu2VmWiX6BjF5XDefh7JHrJmUd56xXNZyA== 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=HP1N1UbGKFeegNJoyiGOoXqYh7xQfjm0aZ4532+Ott8=; b=AGuPuR5LiymRtF49Td4nd6K6UiLI5yIyu03K4HgBf1s49PPKAxsCYEyNkq85cUQ8Q3sQfoMlpXNo7vlbZ9Igegmf6sUFMavpMaQnKAqdDR9ZGJEpOpxw3LdtE1kJFE4Lq1/PTgE2kQ9Cjs5ijcIGoaZOzgzs5iinu52HZFuR7JxvYhd9T5lNVKz+V0Ji/LQtKFKfxK5msbdNeYcN4VUBCCmEqhzKnCTPaF8RcE02/umwkPA8dir16bm+WXJYlgauC4N0qYdI4RxSmgHTwYMIC3+SnfM/nOlZts8i3fR1VS7eUWyNJu7O+XProK8iKOvkqot6k3R626r/B10/LX/tHA== 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=HP1N1UbGKFeegNJoyiGOoXqYh7xQfjm0aZ4532+Ott8=; b=BRSsYmMkRgYWhb9CDxSHO871MJWgkJsjdVA+jaj4jOYSdQESVOjjdLfV1XwS+mZfGgzrZ3IY2T/JFZvomfLix0Tgyt2rVtjcDdQVpqV7rLaOqSqn2eey2Uu1nAGjgBVu14DVV4Csfmh649kDuvYqYtyZ4xSojqboy3Q26cC7WPU= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4036.eurprd05.prod.outlook.com (52.133.38.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15; Wed, 8 Jan 2020 10:45:37 +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.016; Wed, 8 Jan 2020 10:45:37 +0000 From: Matan Azrad To: "Xu, Rosen" , Maxime Coquelin , "Bie, Tiwei" , "Wang, Zhihong" , "Wang, Xiao W" CC: "Yigit, Ferruh" , "dev@dpdk.org" , Thomas Monjalon , "Pei, Andy" Thread-Topic: [dpdk-dev] [PATCH v1 0/3] Introduce new class for vDPA device drivers Thread-Index: AQHVxeanGWEJADxa9kmIICJ2Rpmc8qfglQCw Date: Wed, 8 Jan 2020 10:45:36 +0000 Message-ID: References: <1577287161-10321-1-git-send-email-matan@mellanox.com> <0E78D399C70DA940A335608C6ED296D73AC77B3E@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <0E78D399C70DA940A335608C6ED296D73AC77B3E@SHSMSX104.ccr.corp.intel.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: f259557c-724e-4141-2ef3-08d79427e57e x-ms-traffictypediagnostic: AM0PR0502MB4036: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 02760F0D1C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(346002)(396003)(39860400002)(136003)(199004)(189003)(53754006)(13464003)(53546011)(478600001)(66446008)(66476007)(66556008)(64756008)(4326008)(71200400001)(81166006)(55016002)(186003)(52536014)(81156014)(9686003)(6506007)(8936002)(26005)(86362001)(2906002)(54906003)(7696005)(33656002)(316002)(5660300002)(66946007)(76116006)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4036; H:AM0PR0502MB4019.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: WiEOGxnnENr1LNg7x6ylFh2jQ9QZkR6Hl0hwf31O4GpgprivyTAkBBPUKz6caKmVAAg2FotkHRmfoPm5ThK4iM9DM96v+ha5jod69ke1xON4N4WFdMGyEXogGhxPcEVb8BQOZGPqZgSDUHKvM2Ke7LJycd/UgUGJY4iKyo0re81HJwiEB17UgPoVg0W6mzZpJ4XBPXJRRRNMi4BkXIx2zVXqhpWDYvKEL6ZpVcDQENJxbxUmbXciCRc9iUiSFYOhu8dwiBNJ65drAehHjISow0kcweQYmGsHf9zwTYurq9GnV2QhxWSLDvEmgGuFcP+x075mNsnk1IQVXvzh50XlZARfVCmN2U65UOegRycimKco8XJTt+ZBm8RIULtS9Vu6yknbU5kWRUW5Tyx2xKQ4ZscsL1OVfX9MOmayk+nrbTaKIi4lcN3mkGzIv26dqICBDRO3Us0hAb5+rYJdgCAAFG7QAp915AoX+UEf1N2fOelgQtpiBcuaFVpWp2prSwP9rig8B+sliMZpycBGsMiy2Q== x-ms-exchange-transport-forked: True 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: f259557c-724e-4141-2ef3-08d79427e57e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2020 10:45:36.9602 (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: 54u1y7h6UiGfLUtgUmWoIyYeKou9gHanrxeSj3nje4GIFyjr3HHkUXT2PqwCjFSlVsDIfi01N2jpvK8aHM+tTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4036 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 Xu From: Xu, Rosen > Hi Matan, >=20 > Did you think about OVS DPDK? > vDPA is a basic module for OVS, currently it will take some exception pat= h > packet processing for OVS, so it still needs to integrate eth_dev. I don't understand your question. What do you mean by "integrate eth_dev"? > Thanks, > Rosen >=20 > > -----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 > > device drivers > > > > Hi all > > > > Any comments? > > > > 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 dir= ectory. > > > > > > 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 > documentation. > > > > > > 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