ethdev: add IPv4/IPv6 DSCP rewrite action
authorSuanming Mou <suanmingm@mellanox.com>
Tue, 7 Jan 2020 07:24:01 +0000 (09:24 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commit8482ffe4b68bc0a6f14d46e65158d3c779f7e0f9
tree080e123e7547c4949a6485c39d72c6c7ac91684a
parentbf4fd5ba3e2edfe68888e83aef81f681756fc692
ethdev: add IPv4/IPv6 DSCP rewrite action

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 commit introduce the DSCP modify action for IPv4 and IPv6.

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Ori Kam <orika@mellanox.com>
app/test-pmd/cmdline_flow.c
doc/guides/prog_guide/rte_flow.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst
lib/librte_ethdev/rte_flow.c
lib/librte_ethdev/rte_flow.h