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

2023-06-02 Thread Ferruh Yigit
On 5/28/2023 3:39 PM, Ori Kam wrote: >>> >>> 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: Rong

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

2023-05-28 Thread Ori Kam
; > -Original Message- > > From: Rongwei Liu > > Sent: Tuesday, March 28, 2023 20:28 > > To: dev@dpdk.org; Matan Azrad ; Slava Ovsiienko > > ; Ori Kam ; NBU-Contact- > > Thomas Monjalon (EXTERNAL) > > Cc: Aman Singh ; Yuying Zhang > >

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

2023-05-25 Thread Rongwei Liu
> ; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) > Cc: Aman Singh ; Yuying Zhang > ; Olivier Matz > Subject: [PATCH v2] app/testpmd: set srv6 header without any TLV > > External email: Use caution opening links or attachments > > > When the type field of the IPv

[PATCH v2] 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 v2: add macro definition for segment routing header. --- app