mbox

[v2,0/2] add IPv4/IPv6 DSCP rewrite action

Message ID 1578381843-110954-1-git-send-email-suanmingm@mellanox.com (mailing list archive)
Headers

Message

Suanming Mou Jan. 7, 2020, 7:24 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/

---
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(-)