Message ID | cover.1567951422.git.motih@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6FFF81ED02; Mon, 9 Sep 2019 17:56:54 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 9738B1ED4D for <dev@dpdk.org>; Mon, 9 Sep 2019 17:56:52 +0200 (CEST) From: Moti Haimovsky <motih@mellanox.com> To: viacheslavo@mellanox.com, rasland@mellanox.com Cc: dev@dpdk.org Date: Mon, 9 Sep 2019 18:56:42 +0300 Message-Id: <cover.1567951422.git.motih@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <cover.1567522554.git.motih@mellanox.com> References: <cover.1567522554.git.motih@mellanox.com> Subject: [dpdk-dev] [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header 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 |
net/mlx5: support for flow action on VLAN header
|
|
Message
Moti Haimovsky
Sept. 9, 2019, 3:56 p.m. UTC
VLAN actions support is implemented in librte_ethdev, and in test-pmd application, based on [1] Generic flow API. These actions conform to the VLAN actions defined in [2] the OpenFlow Switch Specification. rte_flow defines the following VLAN actions: 1. OF_POP_VLAN Pop the outer-most VLAN header from the packet. 2. OF_PUSH_VLAN Push a new VLAN header onto the packet. 3. OF_SET_VLAN_VID Sets the ID of the outermost VLAN tag. 4. OF_SET_VLAN_PCP Sets the 3-bit priority field of the outermost VLAN tag. This series of patches adds support for those VLAN actions to the mlx5 PMD using the Direct Verbs interface. v2: - Code rebase on latest commits. v3: - mlx5 documentation update. v4: - Update the release notes with new the new features. - Minor bug fixes. v5: - Rebase on top of latest commits. - Minor bug fix in vlan push action. - Bug fix in the format of the release notes. Moti Haimovsky (7): net/mlx5: support for an action search in a list net/mlx5: add VLAN push/pop DR commands to glue net/mlx5: support pop flow action on VLAN header net/mlx5: support push flow action on VLAN header net/mlx5: support modify VLAN priority on VLAN hdr net/mlx5: supp modify VLAN ID on new VLAN header net/mlx5: supp modify VLAN ID on existing VLAN hdr doc/guides/nics/mlx5.rst | 34 ++- doc/guides/rel_notes/release_19_11.rst | 9 + drivers/net/mlx5/Makefile | 5 + drivers/net/mlx5/meson.build | 2 + drivers/net/mlx5/mlx5.c | 9 + drivers/net/mlx5/mlx5.h | 4 + drivers/net/mlx5/mlx5_flow.c | 23 ++ drivers/net/mlx5/mlx5_flow.h | 27 +- drivers/net/mlx5/mlx5_flow_dv.c | 538 +++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_glue.c | 29 ++ drivers/net/mlx5/mlx5_glue.h | 6 + drivers/net/mlx5/mlx5_prm.h | 1 + 12 files changed, 677 insertions(+), 10 deletions(-)
Comments
> -----Original Message----- > From: Moti Haimovsky <motih@mellanox.com> > Sent: Monday, September 9, 2019 18:57 > To: Slava Ovsiienko <viacheslavo@mellanox.com>; Raslan Darawsheh > <rasland@mellanox.com> > Cc: dev@dpdk.org > Subject: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header > > VLAN actions support is implemented in librte_ethdev, and in test-pmd > application, based on [1] Generic flow API. > These actions conform to the VLAN actions defined in [2] the OpenFlow > Switch Specification. > > rte_flow defines the following VLAN actions: > 1. OF_POP_VLAN > Pop the outer-most VLAN header from the packet. > 2. OF_PUSH_VLAN > Push a new VLAN header onto the packet. > 3. OF_SET_VLAN_VID > Sets the ID of the outermost VLAN tag. > 4. OF_SET_VLAN_PCP > Sets the 3-bit priority field of the outermost VLAN tag. > > This series of patches adds support for those VLAN actions to the mlx5 PMD > using the Direct Verbs interface. > > v2: > - Code rebase on latest commits. > > v3: > - mlx5 documentation update. > > v4: > - Update the release notes with new the new features. > - Minor bug fixes. > > v5: > - Rebase on top of latest commits. > - Minor bug fix in vlan push action. > - Bug fix in the format of the release notes. > > Moti Haimovsky (7): > net/mlx5: support for an action search in a list > net/mlx5: add VLAN push/pop DR commands to glue > net/mlx5: support pop flow action on VLAN header > net/mlx5: support push flow action on VLAN header > net/mlx5: support modify VLAN priority on VLAN hdr > net/mlx5: supp modify VLAN ID on new VLAN header > net/mlx5: supp modify VLAN ID on existing VLAN hdr > > doc/guides/nics/mlx5.rst | 34 ++- > doc/guides/rel_notes/release_19_11.rst | 9 + > drivers/net/mlx5/Makefile | 5 + > drivers/net/mlx5/meson.build | 2 + > drivers/net/mlx5/mlx5.c | 9 + > drivers/net/mlx5/mlx5.h | 4 + > drivers/net/mlx5/mlx5_flow.c | 23 ++ > drivers/net/mlx5/mlx5_flow.h | 27 +- > drivers/net/mlx5/mlx5_flow_dv.c | 538 > +++++++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_glue.c | 29 ++ > drivers/net/mlx5/mlx5_glue.h | 6 + > drivers/net/mlx5/mlx5_prm.h | 1 + > 12 files changed, 677 insertions(+), 10 deletions(-) > > -- > 1.8.3.1 Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Hi, Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh > -----Original Message----- > From: Moti Haimovsky <motih@mellanox.com> > Sent: Monday, September 9, 2019 6:57 PM > To: Slava Ovsiienko <viacheslavo@mellanox.com>; Raslan Darawsheh > <rasland@mellanox.com> > Cc: dev@dpdk.org > Subject: [PATCH v5 0/7] net/mlx5: support for flow action on VLAN header > > VLAN actions support is implemented in librte_ethdev, and in test-pmd > application, based on [1] Generic flow API. > These actions conform to the VLAN actions defined in [2] the OpenFlow > Switch Specification. > > rte_flow defines the following VLAN actions: > 1. OF_POP_VLAN > Pop the outer-most VLAN header from the packet. > 2. OF_PUSH_VLAN > Push a new VLAN header onto the packet. > 3. OF_SET_VLAN_VID > Sets the ID of the outermost VLAN tag. > 4. OF_SET_VLAN_PCP > Sets the 3-bit priority field of the outermost VLAN tag. > > This series of patches adds support for those VLAN actions to the mlx5 PMD > using the Direct Verbs interface. > > v2: > - Code rebase on latest commits. > > v3: > - mlx5 documentation update. > > v4: > - Update the release notes with new the new features. > - Minor bug fixes. > > v5: > - Rebase on top of latest commits. > - Minor bug fix in vlan push action. > - Bug fix in the format of the release notes. > > Moti Haimovsky (7): > net/mlx5: support for an action search in a list > net/mlx5: add VLAN push/pop DR commands to glue > net/mlx5: support pop flow action on VLAN header > net/mlx5: support push flow action on VLAN header > net/mlx5: support modify VLAN priority on VLAN hdr > net/mlx5: supp modify VLAN ID on new VLAN header > net/mlx5: supp modify VLAN ID on existing VLAN hdr > > doc/guides/nics/mlx5.rst | 34 ++- > doc/guides/rel_notes/release_19_11.rst | 9 + > drivers/net/mlx5/Makefile | 5 + > drivers/net/mlx5/meson.build | 2 + > drivers/net/mlx5/mlx5.c | 9 + > drivers/net/mlx5/mlx5.h | 4 + > drivers/net/mlx5/mlx5_flow.c | 23 ++ > drivers/net/mlx5/mlx5_flow.h | 27 +- > drivers/net/mlx5/mlx5_flow_dv.c | 538 > +++++++++++++++++++++++++++++++++ > drivers/net/mlx5/mlx5_glue.c | 29 ++ > drivers/net/mlx5/mlx5_glue.h | 6 + > drivers/net/mlx5/mlx5_prm.h | 1 + > 12 files changed, 677 insertions(+), 10 deletions(-) > > -- > 1.8.3.1