From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 434A7A04F6; Tue, 7 Jan 2020 08:24:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D6243576; Tue, 7 Jan 2020 08:24:10 +0100 (CET) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id DBDF61D94B for ; Tue, 7 Jan 2020 08:24:07 +0100 (CET) From: Suanming Mou To: Cc: dev@dpdk.org, rasland@mellanox.com Date: Tue, 7 Jan 2020 09:24:00 +0200 Message-Id: <1578381843-110954-1-git-send-email-suanmingm@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1577945052-39548-1-git-send-email-suanmingm@mellanox.com> References: <1577945052-39548-1-git-send-email-suanmingm@mellanox.com> Subject: [dpdk-dev] [PATCH v2 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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/ --- v2: change the magic number 0x3f to RTE_IPV4/6_HDR_DSCP_MASK macro in PMD. 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(-) -- 1.8.3.1