Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/86243/?format=api
https://patches.dpdk.org/api/patches/86243/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1610276814-455612-1-git-send-email-jiaweiw@nvidia.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1610276814-455612-1-git-send-email-jiaweiw@nvidia.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1610276814-455612-1-git-send-email-jiaweiw@nvidia.com", "date": "2021-01-10T11:06:49", "name": "[0/5] Add the E-Switch mirroring and jump supports", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1939, "url": "https://patches.dpdk.org/api/people/1939/?format=api", "name": "Jiawei Wang", "email": "jiaweiw@nvidia.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1610276814-455612-1-git-send-email-jiaweiw@nvidia.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/86243/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/86243/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 13E77A04B5;\n\tSun, 10 Jan 2021 12:07:11 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 315FE140EFC;\n\tSun, 10 Jan 2021 12:07:00 +0100 (CET)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 3672E140E7D\n for <dev@dpdk.org>; Sun, 10 Jan 2021 12:06:56 +0100 (CET)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n jiaweiw@nvidia.com) with SMTP; 10 Jan 2021 13:06:54 +0200", "from nvidia.com (gen-l-vrt-281.mtl.labs.mlnx [10.237.44.1])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10AB6svw031568;\n Sun, 10 Jan 2021 13:06:54 +0200" ], "From": "Jiawei Wang <jiaweiw@nvidia.com>", "To": "viacheslavo@nvidia.com, matan@nvidia.com, orika@nvidia.com", "Cc": "dev@dpdk.org, rasland@nvidia.com", "Date": "Sun, 10 Jan 2021 13:06:49 +0200", "Message-Id": "<1610276814-455612-1-git-send-email-jiaweiw@nvidia.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dpdk-dev] [PATCH 0/5] Add the E-Switch mirroring and jump supports", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "MLX5 E-Switch mirroring is implemented as multiple destination array in\none steering table. The array currently supports only port ID as\ndestination actions.\n\nThis patchset adds the below supports for MLX5 PMD driver:\n - Supports the metadata register Cx preserve capability query.\n - Supports the jump action support as one of destination of array.\n - Supports the modify action only impact on the one of destination.\n\nThe examples for the E-Switch flow use case and result as below:\n set sample_actions 0 port_id id 1 / end\n flow create 0 ingress transfer pattern eth / end actions sample ratio 1 index 0 / jump group 1 / end\n 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\n\nThe flow results all the matched ingress packets are mirrored\nto port id 1 and go to group 1. In the group 1, packets are modified\nwith the destination mac and sent to port id 2.\n\nJiawei Wang (5):\n common/mlx5: query register c preserve capability via DevX\n net/mlx5: support E-Switch mirroring and jump in one flow\n net/mlx5: extend the skip scale flag\n net/mlx5: supports modify one port in E-Switch mirroring\n doc: update the advanced E-switch mirroring supports\n\n doc/guides/nics/mlx5.rst | 2 +\n doc/guides/rel_notes/release_21_02.rst | 6 +\n drivers/common/mlx5/mlx5_devx_cmds.c | 2 +\n drivers/common/mlx5/mlx5_devx_cmds.h | 1 +\n drivers/common/mlx5/mlx5_prm.h | 4 +-\n drivers/net/mlx5/mlx5_flow.c | 203 +++++++++++++++++++++++----------\n drivers/net/mlx5/mlx5_flow.h | 23 +++-\n drivers/net/mlx5/mlx5_flow_dv.c | 92 +++++++++------\n 8 files changed, 234 insertions(+), 99 deletions(-)", "diff": null, "prefixes": [ "0/5" ] }{ "id": 86243, "url": "