mbox series

[v4,0/2] support VXLAN header the last 8-bits matching

Message ID 20210707080949.1433899-1-rongweil@nvidia.com (mailing list archive)
Headers
Series support VXLAN header the last 8-bits matching |

Message

Rongwei Liu July 7, 2021, 8:09 a.m. UTC
  This update adds support for the VXLAN the last 8-bits reserved
field matching when creating sw steering rules.

Add a new testpmd pattern field 'last_rsvd' that supports the last
8-bits matching of VXLAN header.

Rongwei Liu (2):
  net/mlx5: add VXLAN header the last 8-bits matching support
  app/testpmd: support VXLAN the last 8-bits field matching

 app/test-pmd/cmdline_flow.c                 |   9 ++
 app/test-pmd/util.c                         |   5 +-
 doc/guides/nics/mlx5.rst                    |  11 +-
 doc/guides/rel_notes/release_21_08.rst      |   6 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |   1 +
 drivers/common/mlx5/mlx5_devx_cmds.c        |   3 +
 drivers/common/mlx5/mlx5_devx_cmds.h        |   6 +
 drivers/common/mlx5/mlx5_prm.h              |  41 ++++-
 drivers/net/mlx5/linux/mlx5_os.c            |  77 ++++++++++
 drivers/net/mlx5/mlx5.h                     |   2 +
 drivers/net/mlx5/mlx5_flow.c                |  26 +++-
 drivers/net/mlx5/mlx5_flow.h                |   4 +-
 drivers/net/mlx5/mlx5_flow_dv.c             | 160 ++++++++++++++------
 drivers/net/mlx5/mlx5_flow_verbs.c          |   3 +-
 drivers/vdpa/mlx5/mlx5_vdpa_steer.c         |   6 +-
 15 files changed, 293 insertions(+), 67 deletions(-)
  

Comments

Andrew Rybchenko July 13, 2021, 8:33 a.m. UTC | #1
On 7/7/21 11:09 AM, Rongwei Liu wrote:
> This update adds support for the VXLAN the last 8-bits reserved
> field matching when creating sw steering rules.
> 
> Add a new testpmd pattern field 'last_rsvd' that supports the last
> 8-bits matching of VXLAN header.

The version fails to apply, please, send rebased version.

Thanks,
Andrew.
  
Rongwei Liu July 13, 2021, 9:56 a.m. UTC | #2
Hi Andrew:
	Thanks for the review.
	V5 has been sent after rebasing.

BR
Rongwei

> -----Original Message-----
> From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> Sent: Tuesday, July 13, 2021 4:33 PM
> To: Rongwei Liu <rongweil@nvidia.com>; Matan Azrad <matan@nvidia.com>;
> Slava Ovsiienko <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>;
> NBU-Contact-Thomas Monjalon <thomas@monjalon.net>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>
> Subject: Re: [dpdk-dev] [PATCH v4 0/2] support VXLAN header the last 8-bits
> matching
> 
> External email: Use caution opening links or attachments
> 
> 
> On 7/7/21 11:09 AM, Rongwei Liu wrote:
> > This update adds support for the VXLAN the last 8-bits reserved field
> > matching when creating sw steering rules.
> >
> > Add a new testpmd pattern field 'last_rsvd' that supports the last
> > 8-bits matching of VXLAN header.
> 
> The version fails to apply, please, send rebased version.
> 
> Thanks,
> Andrew.