This patch adds support for specifying GTP PSC QFI field as a source or
destination of MODIFY_FIELD flow action in testpmd.

An example for copying GTP PSC QFI field using MODIFY_FIELD action:

    modify_field op set
                 dst_type meta
                 src_type gtp_psc_qfi
                 width 8

An example of setting GTP PSC QFI value to 0x1f using MODIFY_FIELD
action:

    modify_field op set
                 dst_type gtp_psc_qfi
                 src_type value src_value 1f
                 width 8

Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
---
 app/test-pmd/cmdline_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 7f50028eb7..b9673314b1 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -796,7 +796,7 @@ static const char *const modify_field_ids[] = {
        "udp_port_src", "udp_port_dst",
        "vxlan_vni", "geneve_vni", "gtp_teid",
        "tag", "mark", "meta", "pointer", "value",
-       "ipv4_ecn", "ipv6_ecn", NULL
+       "ipv4_ecn", "ipv6_ecn", "gtp_psc_qfi", NULL
 };
 
 /** Maximum number of subsequent tokens and arguments on the stack. */
-- 
2.25.1

Reply via email to