Skip to contentSkip to conversation

app/testpmd: add IPv6 DSCP option for modify_field action

PATCH In review Alexander Kozyrev 2 participants 2 messages Jan 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: add IPv6 DSCP option for modify_field action

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")
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test-pmd/cmdline_flow.c +1 -1
index 0618611ab1..fb1cba932b 100644
@@ -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",
Signature · 1 line
2.24.1
#1 lore raw

26/01/2021 05:40, Alexander Kozyrev:

Quoted 8 lines

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")
---
 app/test-pmd/cmdline_flow.c | 2 +-

It should be squashed with the patch adding the field in ethdev.