DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rongwei Liu <rongweil@nvidia.com>
To: Raslan Darawsheh <rasland@nvidia.com>,
	Matan Azrad <matan@nvidia.com>,
	Slava Ovsiienko <viacheslavo@nvidia.com>,
	Ori Kam <orika@nvidia.com>,
	NBU-Contact-Thomas Monjalon <thomas@monjalon.net>,
	Shahaf Shuler <shahafs@nvidia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v6 1/2] net/mlx5: support matching on the reserved field of VXLAN
Date: Tue, 13 Jul 2021 12:11:51 +0000	[thread overview]
Message-ID: <DM6PR12MB552016BFD695F7B441F8FD04AB149@DM6PR12MB5520.namprd12.prod.outlook.com> (raw)
In-Reply-To: <DM4PR12MB5054F8980C6574AC1F9F5429CF149@DM4PR12MB5054.namprd12.prod.outlook.com>

Hi Raslan:
	V7 was sent:
	1. app/testpmd title changed per your comments.
	2. UNSIGNED to newest COMMON_UNSIGNED to fix compilation error.
	Thanks

BR
Rongwei

> -----Original Message-----
> From: Raslan Darawsheh <rasland@nvidia.com>
> Sent: Tuesday, July 13, 2021 7:41 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>; Shahaf Shuler
> <shahafs@nvidia.com>
> Cc: dev@dpdk.org
> Subject: RE: [PATCH v6 1/2] net/mlx5: support matching on the reserved field
> of VXLAN
> 
> Hi,
> 
> > -----Original Message-----
> > From: Rongwei Liu <rongweil@nvidia.com>
> > Sent: Tuesday, July 13, 2021 1:50 PM
> > To: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> > <viacheslavo@nvidia.com>; Ori Kam <orika@nvidia.com>; NBU-Contact-
> > Thomas Monjalon <thomas@monjalon.net>; Shahaf Shuler
> > <shahafs@nvidia.com>
> > Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>
> > Subject: [PATCH v6 1/2] net/mlx5: support matching on the reserved
> > field of VXLAN
> >
> > This adds matching on the reserved field of VXLAN header (the last
> > 8-bits). The capability from rdma-core is detected by creating a dummy
> > matcher using misc5 when the device is probed.
> >
> > For non-zero groups and FDB domain, the capability is detected from
> > rdma-core, meanwhile for NIC domain group zero it's relying on the
> > HCA_CAP from FW.
> >
> > Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
> > Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> > ---
> >  doc/guides/nics/mlx5.rst               |  11 +-
> >  doc/guides/rel_notes/release_21_08.rst |   6 +
> >  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 +-
> >  12 files changed, 280 insertions(+), 65 deletions(-)
> >
> > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index
> > 8253b96e92..5842991d5d 100644
> > --- a/doc/guides/nics/mlx5.rst
> > +++ b/doc/guides/nics/mlx5.rst
> > @@ -195,8 +195,15 @@ Limitations
> >    size and ``txq_inline_min`` settings and may be from 2 (worst case
> > forced by maximal
> >    inline settings) to 58.
> >
> > -- Flows with a VXLAN Network Identifier equal (or ends to be equal)
> > -  to 0 are not supported.
> > +- Match on VXLAN supports the following fields only:
> > +
> > +     - VNI
> > +     - Last reserved 8-bits
> > +
> > +  Last reserved 8-bits matching is only supported When using DV flow
> > + engine (``dv_flow_en`` = 1).
> > +  Group zero's behavior may differ which depends on FW.
> > +  Matching value equals 0 (value & mask) is not supported.
> >
> >  - L3 VXLAN and VXLAN-GPE tunnels cannot be supported together with
> > MPLSoGRE and MPLSoUDP.
> >
> > diff --git a/doc/guides/rel_notes/release_21_08.rst
> > b/doc/guides/rel_notes/release_21_08.rst
> > index 6a902ef9ac..3fb17bbf77 100644
> > --- a/doc/guides/rel_notes/release_21_08.rst
> > +++ b/doc/guides/rel_notes/release_21_08.rst
> > @@ -117,6 +117,11 @@ New Features
> >    The experimental PMD power management API now supports managing
> >    multiple Ethernet Rx queues per lcore.
> >
> > +* **Updated Mellanox mlx5 driver.**
> > +
> > +  Updated the Mellanox mlx5 driver with new features and
> > + improvements,
> > including:
> > +
> > +  * Added support for matching on vxlan header last 8-bits reserved field.
> >
> I guess this need to be rebased which is what Andrew mentioned in his
> previous comment, Otherwise,
> Acked-by: Raslan Darawsheh <rasland@nvidia.com>

  parent reply	other threads:[~2021-07-13 12:11 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05  9:50 [dpdk-dev] [PATCH v2 0/2] support VXLAN header last 8-bits reserved field matching rongwei liu
2021-07-05  9:50 ` [dpdk-dev] [PATCH v2 1/2] drivers: add VXLAN header the last 8-bits matching support rongwei liu
2021-07-06 12:35   ` Thomas Monjalon
2021-07-07  8:09     ` [dpdk-dev] [PATCH v4 0/2] support VXLAN header the last 8-bits matching Rongwei Liu
2021-07-07  8:09       ` [dpdk-dev] [PATCH v4 1/2] net/mlx5: add VXLAN header the last 8-bits matching support Rongwei Liu
2021-07-07  8:09       ` [dpdk-dev] [PATCH v4 2/2] app/testpmd: support VXLAN the last 8-bits field matching Rongwei Liu
2021-07-13  8:33       ` [dpdk-dev] [PATCH v4 0/2] support VXLAN header the last 8-bits matching Andrew Rybchenko
2021-07-13  9:55         ` [dpdk-dev] [PATCH v5 " Rongwei Liu
2021-07-13  9:55           ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: add VXLAN header the last 8-bits matching support Rongwei Liu
2021-07-13 10:27             ` Raslan Darawsheh
2021-07-13 10:50               ` [dpdk-dev] [PATCH v6 0/2] support VXLAN header the last 8-bits matching Rongwei Liu
2021-07-13 10:50                 ` [dpdk-dev] [PATCH v6 1/2] net/mlx5: support matching on the reserved field of VXLAN Rongwei Liu
2021-07-13 11:40                   ` Raslan Darawsheh
2021-07-13 11:49                     ` Rongwei Liu
2021-07-13 12:09                       ` [dpdk-dev] [PATCH v7 0/2] support VXLAN header the last 8-bits matching Rongwei Liu
2021-07-13 12:09                         ` [dpdk-dev] [PATCH v7 1/2] net/mlx5: support matching on the reserved field of VXLAN Rongwei Liu
2021-07-13 12:55                           ` Raslan Darawsheh
2021-07-13 13:44                             ` Rongwei Liu
2021-07-13 12:09                         ` [dpdk-dev] [PATCH v7 2/2] app/testpmd: support matching the reserved filed for VXLAN Rongwei Liu
2021-07-13 12:54                           ` Raslan Darawsheh
2021-07-13 15:34                             ` Raslan Darawsheh
2021-07-13 15:36                               ` Rongwei Liu
2021-07-13 13:09                         ` [dpdk-dev] [PATCH v7 0/2] support VXLAN header the last 8-bits matching Andrew Rybchenko
2021-07-13 12:11                     ` Rongwei Liu [this message]
2021-07-13 10:50                 ` [dpdk-dev] [PATCH v6 2/2] app/testpmd: support VXLAN header " Rongwei Liu
2021-07-13 11:37                   ` Raslan Darawsheh
2021-07-13 11:39                     ` Rongwei Liu
2021-07-13 10:52               ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: add VXLAN header the last 8-bits matching support Rongwei Liu
2021-07-13  9:55           ` [dpdk-dev] [PATCH v5 2/2] app/testpmd: support VXLAN the last 8-bits field matching Rongwei Liu
2021-07-13 10:02             ` Raslan Darawsheh
2021-07-13 10:06               ` Andrew Rybchenko
2021-07-13  9:56         ` [dpdk-dev] [PATCH v4 0/2] support VXLAN header the last 8-bits matching Rongwei Liu
2021-07-05  9:50 ` [dpdk-dev] [PATCH v2 2/2] app/testpmd: support VXLAN last 8-bits field matching rongwei liu
2021-07-06 12:28   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR12MB552016BFD695F7B441F8FD04AB149@DM6PR12MB5520.namprd12.prod.outlook.com \
    --to=rongweil@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=orika@nvidia.com \
    --cc=rasland@nvidia.com \
    --cc=shahafs@nvidia.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).