Re: [PATCH v1] app/testpmd: set srv6 header without any TLV

2023-03-28 Thread Thomas Monjalon
28/03/2023 11:36, Rongwei Liu: > When the type field of the IPv6 routing extension is 4, it means > segment routing header. Can we replace this raw value with a #define in lib/net/ ?

[PATCH v1] app/testpmd: set srv6 header without any TLV

2023-03-28 Thread Rongwei Liu
When the type field of the IPv6 routing extension is 4, it means segment routing header. In this case, set the last_entry to be segment_left minus 1 if the user doesn't specify the header length explicitly. Signed-off-by: Rongwei Liu --- app/test-pmd/cmdline_flow.c | 3 +++ 1 file changed, 3 in