DPDK patches and discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@nvidia.com>
To: "Jiawei(Jonny) Wang" <jiaweiw@nvidia.com>,
	Slava Ovsiienko <viacheslavo@nvidia.com>,
	Matan Azrad <matan@nvidia.com>, Ori Kam <orika@nvidia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2 0/5] Add the E-Switch mirroring and jump supports
Date: Wed, 20 Jan 2021 15:05:25 +0000	[thread overview]
Message-ID: <DM6PR12MB2748A407485790310AF42130CFA20@DM6PR12MB2748.namprd12.prod.outlook.com> (raw)
In-Reply-To: <1610447359-411658-1-git-send-email-jiaweiw@nvidia.com>

Hi,

> -----Original Message-----
> From: Jiawei Wang <jiaweiw@nvidia.com>
> Sent: Tuesday, January 12, 2021 12:29 PM
> To: Slava Ovsiienko <viacheslavo@nvidia.com>; Matan Azrad
> <matan@nvidia.com>; Ori Kam <orika@nvidia.com>
> Cc: dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>
> Subject: [PATCH v2 0/5] Add the E-Switch mirroring and jump supports
> 
> MLX5 E-Switch mirroring is implemented as multiple destination array in
> one steering table. The array currently supports only port ID as
> destination actions.
> 
> This patchset adds the below supports for MLX5 PMD driver:
>   - Supports the metadata register Cx preserve capability query.
>   - Supports the jump action support as one of destination of array.
>   - Supports the modify action only impact on the one of destination.
> 
> The examples for the E-Switch flow use case and result as below:
>     set sample_actions 0 port_id id 1 / end
>     flow create 0 ingress transfer pattern eth / end actions sample ratio 1 index
> 0 / jump group 1 / end
>     flow create 1 ingress transfer group 1 pattern eth / end actions
> set_mac_dst mac_addr 00:aa:bb:cc:dd:ee / port_id id 2 / end
> 
> The flow results all the matched ingress packets are mirrored
> to port id 1 and go to group 1. In the group 1, packets are modified
> with the destination mac and sent to port id 2.
> 
> v2:
> * Rebase
> * Update commit message and document description
> 
> Jiawei Wang (5):
>   common/mlx5: query register c preserve capability via DevX
>   net/mlx5: support E-Switch mirroring and jump in one flow
>   net/mlx5: extend the skip scale flag
>   net/mlx5: update modify actions support for E-Switch mirror
>   doc: update the advanced E-switch mirroring supports
> 
>  doc/guides/nics/mlx5.rst               |   2 +
>  doc/guides/rel_notes/release_21_02.rst |   7 ++
>  drivers/common/mlx5/mlx5_devx_cmds.c   |   2 +
>  drivers/common/mlx5/mlx5_devx_cmds.h   |   1 +
>  drivers/common/mlx5/mlx5_prm.h         |   4 +-
>  drivers/net/mlx5/mlx5_flow.c           | 203 +++++++++++++++++++++++------
> ----
>  drivers/net/mlx5/mlx5_flow.h           |  23 +++-
>  drivers/net/mlx5/mlx5_flow_dv.c        |  92 +++++++++------
>  8 files changed, 235 insertions(+), 99 deletions(-)
> 
> --
> 1.8.3.1

Series rebased and applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

      parent reply	other threads:[~2021-01-20 15:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10 11:06 [dpdk-dev] [PATCH " Jiawei Wang
2021-01-10 11:06 ` [dpdk-dev] [PATCH 1/5] common/mlx5: query register c preserve capability via DevX Jiawei Wang
2021-01-10 11:06 ` [dpdk-dev] [PATCH 2/5] net/mlx5: support E-Switch mirroring and jump in one flow Jiawei Wang
2021-01-10 11:06 ` [dpdk-dev] [PATCH 3/5] net/mlx5: extend the skip scale flag Jiawei Wang
2021-01-10 11:06 ` [dpdk-dev] [PATCH 4/5] net/mlx5: supports modify one port in E-Switch mirroring Jiawei Wang
2021-01-10 11:06 ` [dpdk-dev] [PATCH 5/5] doc: update the advanced E-switch mirroring supports Jiawei Wang
2021-01-12 10:29 ` [dpdk-dev] [PATCH v2 0/5] Add the E-Switch mirroring and jump supports Jiawei Wang
2021-01-12 10:29   ` [dpdk-dev] [PATCH v2 1/5] common/mlx5: query register c preserve capability via DevX Jiawei Wang
2021-01-12 10:29   ` [dpdk-dev] [PATCH v2 2/5] net/mlx5: support E-Switch mirroring and jump in one flow Jiawei Wang
2021-01-12 10:29   ` [dpdk-dev] [PATCH v2 3/5] net/mlx5: extend the skip scale flag Jiawei Wang
2021-01-12 10:29   ` [dpdk-dev] [PATCH v2 4/5] net/mlx5: update modify actions support for E-Switch mirror Jiawei Wang
2021-01-12 10:29   ` [dpdk-dev] [PATCH v2 5/5] doc: update the advanced E-switch mirroring supports Jiawei Wang
2021-01-22 12:37     ` Ferruh Yigit
2021-01-20 15:05   ` Raslan Darawsheh [this message]

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=DM6PR12MB2748A407485790310AF42130CFA20@DM6PR12MB2748.namprd12.prod.outlook.com \
    --to=rasland@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=jiaweiw@nvidia.com \
    --cc=matan@nvidia.com \
    --cc=orika@nvidia.com \
    --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).