[0/2] add IPv4/IPv6 DSCP rewrite action
Message ID | 1577945052-39548-1-git-send-email-suanmingm@mellanox.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BF2D0A04DD; Thu, 2 Jan 2020 07:04:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9592F1BFAA; Thu, 2 Jan 2020 07:04:19 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 835501BECF for <dev@dpdk.org>; Thu, 2 Jan 2020 07:04:18 +0100 (CET) From: Suanming Mou <suanmingm@mellanox.com> To: Cc: dev@dpdk.org, orika@mellanox.com, arybchenko@solarflare.com, ferruh.yigit@intel.com, thomas@monjalon.net Date: Thu, 2 Jan 2020 08:04:08 +0200 Message-Id: <1577945052-39548-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH 0/2] add IPv4/IPv6 DSCP rewrite action 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> |
Message
Suanming Mou
Jan. 2, 2020, 6:04 a.m. UTC
For some overlay network, such as VXLAN, the DSCP field in the new outer IP header after VXLAN decapsulation may need to be updated accordingly. This patchset implements the DSCP rewrite action for IPv4 and IPv6 as RFC[1]. [1] https://inbox.dpdk.org/dev/1575955386-6672-1-git-send-email-suanmingm@mellanox.com/ Suanming Mou (2): ethdev: add IPv4/IPv6 DSCP rewrite action net/mlx5: add IPv4/IPv6 DSCP rewrite action app/test-pmd/cmdline_flow.c | 50 ++++++++ doc/guides/prog_guide/rte_flow.rst | 40 ++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++ drivers/net/mlx5/mlx5_flow.h | 6 +- drivers/net/mlx5/mlx5_flow_dv.c | 184 ++++++++++++++++++++++++++++ lib/librte_ethdev/rte_flow.c | 2 + lib/librte_ethdev/rte_flow.h | 31 +++++ 7 files changed, 320 insertions(+), 1 deletion(-)