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-suanmi...@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(-) -- 1.8.3.1