app/testpmd: add IPv6 DSCP option for modify_field action
Checks
Commit Message
Support IPv6 DSCP modification via the modify_field action.
Add the ipv6_dscp option for the corresponding header field.
Fixes: 24e1a5e39df ("app/testpmd: support modify field flow action")
Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
---
app/test-pmd/cmdline_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
26/01/2021 05:40, Alexander Kozyrev:
> Support IPv6 DSCP modification via the modify_field action.
> Add the ipv6_dscp option for the corresponding header field.
>
> Fixes: 24e1a5e39df ("app/testpmd: support modify field flow action")
>
> Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> ---
> app/test-pmd/cmdline_flow.c | 2 +-
It should be squashed with the patch adding the field in ethdev.
@@ -592,7 +592,7 @@ static const char *const modify_field_ids[] = {
"start", "mac_dst", "mac_src",
"vlan_type", "vlan_id", "mac_type",
"ipv4_dscp", "ipv4_ttl", "ipv4_src", "ipv4_dst",
- "ipv6_hoplimit", "ipv6_src", "ipv6_dst",
+ "ipv6_dscp", "ipv6_hoplimit", "ipv6_src", "ipv6_dst",
"tcp_port_src", "tcp_port_dst",
"tcp_seq_num", "tcp_ack_num", "tcp_flags",
"udp_port_src", "udp_port_dst",