Message ID | 20201003220619.19231-1-andreyv@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F8E8A04B5; Sun, 4 Oct 2020 00:06:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C28551BFEB; Sun, 4 Oct 2020 00:06:39 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A89151BF1D for <dev@dpdk.org>; Sun, 4 Oct 2020 00:06:38 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from andreyv@nvidia.com) with SMTP; 4 Oct 2020 01:06:34 +0300 Received: from nvidia.com (r-arch-host11.mtr.labs.mlnx [10.213.43.60]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 093M6YLd018436; Sun, 4 Oct 2020 01:06:34 +0300 From: Andrey Vesnovaty <andreyv@nvidia.com> To: dev@dpdk.org Cc: jer@marvell.com, jerinjacobk@gmail.com, thomas@monjalon.net, ferruh.yigit@intel.com, stephen@networkplumber.org, bruce.richardson@intel.com, orika@nvidia.com, viacheslavo@nvidia.com, andrey.vesnovaty@gmail.com, mdr@ashroe.eu, nhorman@tuxdriver.com, ajit.khaparde@broadcom.com, samik.gupta@broadcom.com Date: Sun, 4 Oct 2020 01:06:09 +0300 Message-Id: <20201003220619.19231-1-andreyv@nvidia.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <MWHPR1201MB252566195BE51EA0B0C768C8DB370@MWHPR1201MB2525.namprd12.prod.outlook.com> References: <MWHPR1201MB252566195BE51EA0B0C768C8DB370@MWHPR1201MB2525.namprd12.prod.outlook.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 00/10] RTE flow shared action X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
RTE flow shared action
|
|
Message
Andrey Vesnovaty
Oct. 3, 2020, 10:06 p.m. UTC
This patchset introduces shared action for RTE flow. V3 changes: - implement testpmd for shared action - fix flow_filtering example application - add conf arg to shared action create API Notes: PMD implementation should be considered as draft Andrey Vesnovaty (10): ethdev: add flow shared action API ethdev: add conf arg to shared action icreate API common/mlx5: modify advanced Rx object via DevX net/mlx5: modify hash Rx queue objects net/mlx5: shared action PMD net/mlx5: shared action PMD create conf arg net/mlx5: driver support for shared action net/mlx5: shared action create conf drv support examples/flow_filtering: utilize shared RSS action app/testpmd: support shared action app/test-pmd/cmdline_flow.c | 262 ++++++- app/test-pmd/config.c | 217 ++++++ app/test-pmd/testpmd.h | 19 + doc/guides/sample_app_ug/flow_filtering.rst | 62 +- drivers/common/mlx5/mlx5_devx_cmds.c | 84 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 10 + drivers/common/mlx5/mlx5_prm.h | 29 + .../common/mlx5/rte_common_mlx5_version.map | 1 + drivers/net/mlx5/mlx5.c | 1 + drivers/net/mlx5/mlx5.h | 6 + drivers/net/mlx5/mlx5_defs.h | 3 + drivers/net/mlx5/mlx5_devx.c | 178 ++++- drivers/net/mlx5/mlx5_flow.c | 497 ++++++++++++- drivers/net/mlx5/mlx5_flow.h | 86 +++ drivers/net/mlx5/mlx5_flow_dv.c | 684 +++++++++++++++++- drivers/net/mlx5/mlx5_rxq.c | 103 +++ drivers/net/mlx5/mlx5_rxtx.h | 5 +- examples/flow_filtering/flow_blocks.c | 81 ++- examples/flow_filtering/main.c | 13 +- lib/librte_ethdev/rte_ethdev_version.map | 4 + lib/librte_ethdev/rte_flow.c | 84 +++ lib/librte_ethdev/rte_flow.h | 161 ++++- lib/librte_ethdev/rte_flow_driver.h | 23 + 23 files changed, 2489 insertions(+), 124 deletions(-)
Comments
Hi Andrey, I suggest that you split this patchset to two different ones. One for the Mellanox PMD and one RTE just in each patch set reference the second patch. This why it is possible to merge only the RTE level, if other PMD will use it. Best, Ori > -----Original Message----- > From: dev <dev-bounces@dpdk.org> On Behalf Of Andrey Vesnovaty > Sent: Sunday, October 4, 2020 1:06 AM > To: dev@dpdk.org > Cc: jer@marvell.com; jerinjacobk@gmail.com; NBU-Contact-Thomas Monjalon > <thomas@monjalon.net>; ferruh.yigit@intel.com; > stephen@networkplumber.org; bruce.richardson@intel.com; Ori Kam > <orika@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; > andrey.vesnovaty@gmail.com; mdr@ashroe.eu; nhorman@tuxdriver.com; > ajit.khaparde@broadcom.com; samik.gupta@broadcom.com > Subject: [dpdk-dev] [PATCH v3 00/10] RTE flow shared action > > This patchset introduces shared action for RTE flow. > > V3 changes: > - implement testpmd for shared action > - fix flow_filtering example application > - add conf arg to shared action create API > > Notes: PMD implementation should be considered as draft > > Andrey Vesnovaty (10): > ethdev: add flow shared action API > ethdev: add conf arg to shared action icreate API > common/mlx5: modify advanced Rx object via DevX > net/mlx5: modify hash Rx queue objects > net/mlx5: shared action PMD > net/mlx5: shared action PMD create conf arg > net/mlx5: driver support for shared action > net/mlx5: shared action create conf drv support > examples/flow_filtering: utilize shared RSS action > app/testpmd: support shared action > > app/test-pmd/cmdline_flow.c | 262 ++++++- > app/test-pmd/config.c | 217 ++++++ > app/test-pmd/testpmd.h | 19 + > doc/guides/sample_app_ug/flow_filtering.rst | 62 +- > drivers/common/mlx5/mlx5_devx_cmds.c | 84 +++ > drivers/common/mlx5/mlx5_devx_cmds.h | 10 + > drivers/common/mlx5/mlx5_prm.h | 29 + > .../common/mlx5/rte_common_mlx5_version.map | 1 + > drivers/net/mlx5/mlx5.c | 1 + > drivers/net/mlx5/mlx5.h | 6 + > drivers/net/mlx5/mlx5_defs.h | 3 + > drivers/net/mlx5/mlx5_devx.c | 178 ++++- > drivers/net/mlx5/mlx5_flow.c | 497 ++++++++++++- > drivers/net/mlx5/mlx5_flow.h | 86 +++ > drivers/net/mlx5/mlx5_flow_dv.c | 684 +++++++++++++++++- > drivers/net/mlx5/mlx5_rxq.c | 103 +++ > drivers/net/mlx5/mlx5_rxtx.h | 5 +- > examples/flow_filtering/flow_blocks.c | 81 ++- > examples/flow_filtering/main.c | 13 +- > lib/librte_ethdev/rte_ethdev_version.map | 4 + > lib/librte_ethdev/rte_flow.c | 84 +++ > lib/librte_ethdev/rte_flow.h | 161 ++++- > lib/librte_ethdev/rte_flow_driver.h | 23 + > 23 files changed, 2489 insertions(+), 124 deletions(-) > > -- > 2.26.2
PSB > -----Original Message----- > From: Ori Kam <orika@nvidia.com> > Sent: Sunday, October 4, 2020 2:14 PM > To: Andrey Vesnovaty <andreyv@nvidia.com>; dev@dpdk.org > Cc: jer@marvell.com; jerinjacobk@gmail.com; NBU-Contact-Thomas Monjalon > <thomas@monjalon.net>; ferruh.yigit@intel.com; > stephen@networkplumber.org; bruce.richardson@intel.com; Slava Ovsiienko > <viacheslavo@nvidia.com>; andrey.vesnovaty@gmail.com; mdr@ashroe.eu; > nhorman@tuxdriver.com; ajit.khaparde@broadcom.com; > samik.gupta@broadcom.com > Subject: RE: [dpdk-dev] [PATCH v3 00/10] RTE flow shared action > > Hi Andrey, > > I suggest that you split this patchset to two different ones. > One for the Mellanox PMD > and one RTE just in each patch set reference the second patch. > This why it is possible to merge only the RTE level, if other PMD will use it. Got it. About to publish RTE level v4 part in next couple of hours. Mellanox PMD part will be published tomorrow. > > Best, > Ori > > > -----Original Message----- > > From: dev <dev-bounces@dpdk.org> On Behalf Of Andrey Vesnovaty > > Sent: Sunday, October 4, 2020 1:06 AM > > To: dev@dpdk.org > > Cc: jer@marvell.com; jerinjacobk@gmail.com; NBU-Contact-Thomas > Monjalon > > <thomas@monjalon.net>; ferruh.yigit@intel.com; > > stephen@networkplumber.org; bruce.richardson@intel.com; Ori Kam > > <orika@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; > > andrey.vesnovaty@gmail.com; mdr@ashroe.eu; nhorman@tuxdriver.com; > > ajit.khaparde@broadcom.com; samik.gupta@broadcom.com > > Subject: [dpdk-dev] [PATCH v3 00/10] RTE flow shared action > > > > This patchset introduces shared action for RTE flow. > > > > V3 changes: > > - implement testpmd for shared action > > - fix flow_filtering example application > > - add conf arg to shared action create API > > > > Notes: PMD implementation should be considered as draft > > > > Andrey Vesnovaty (10): > > ethdev: add flow shared action API > > ethdev: add conf arg to shared action icreate API > > common/mlx5: modify advanced Rx object via DevX > > net/mlx5: modify hash Rx queue objects > > net/mlx5: shared action PMD > > net/mlx5: shared action PMD create conf arg > > net/mlx5: driver support for shared action > > net/mlx5: shared action create conf drv support > > examples/flow_filtering: utilize shared RSS action > > app/testpmd: support shared action > > > > app/test-pmd/cmdline_flow.c | 262 ++++++- > > app/test-pmd/config.c | 217 ++++++ > > app/test-pmd/testpmd.h | 19 + > > doc/guides/sample_app_ug/flow_filtering.rst | 62 +- > > drivers/common/mlx5/mlx5_devx_cmds.c | 84 +++ > > drivers/common/mlx5/mlx5_devx_cmds.h | 10 + > > drivers/common/mlx5/mlx5_prm.h | 29 + > > .../common/mlx5/rte_common_mlx5_version.map | 1 + > > drivers/net/mlx5/mlx5.c | 1 + > > drivers/net/mlx5/mlx5.h | 6 + > > drivers/net/mlx5/mlx5_defs.h | 3 + > > drivers/net/mlx5/mlx5_devx.c | 178 ++++- > > drivers/net/mlx5/mlx5_flow.c | 497 ++++++++++++- > > drivers/net/mlx5/mlx5_flow.h | 86 +++ > > drivers/net/mlx5/mlx5_flow_dv.c | 684 +++++++++++++++++- > > drivers/net/mlx5/mlx5_rxq.c | 103 +++ > > drivers/net/mlx5/mlx5_rxtx.h | 5 +- > > examples/flow_filtering/flow_blocks.c | 81 ++- > > examples/flow_filtering/main.c | 13 +- > > lib/librte_ethdev/rte_ethdev_version.map | 4 + > > lib/librte_ethdev/rte_flow.c | 84 +++ > > lib/librte_ethdev/rte_flow.h | 161 ++++- > > lib/librte_ethdev/rte_flow_driver.h | 23 + > > 23 files changed, 2489 insertions(+), 124 deletions(-) > > > > -- > > 2.26.2