[dpdk-dev] [PATCH v2 0/2] add IPv4/IPv6 DSCP rewrite action
Suanming Mou
suanmingm at mellanox.com
Tue Jan 7 08:24:00 CET 2020
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
More information about the dev
mailing list