Re: [PATCH v2 2/2] lib/net: added push MPLS header API

2023-02-05 Thread Thomas Monjalon
18/12/2022 00:31, Tanzeel-inline: > The mpls hdr can't be const because the bs bit is updated by checking ether > type. > > v2: > * marked experimental > * trailing blanks removed > * space after /* and before */ > * updated to bracket cuddle style > * changed rte_memcpy to memcpy This patch is

[PATCH v2 2/2] lib/net: added push MPLS header API

2022-12-17 Thread Tanzeel-inline
The mpls hdr can't be const because the bs bit is updated by checking ether type. v2: * marked experimental * trailing blanks removed * space after /* and before */ * updated to bracket cuddle style * changed rte_memcpy to memcpy Signed-off-by: Tanzeel Ahmed --- lib/net/rte_mpls.h | 24 +++