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

Thomas Monjalon thomas at monjalon.net
Mon Feb 6 08:31:37 CET 2023


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 a change on top of the v1.
The new version should include all changes.

Also you should explain why you add this function.
I'm not sure it should be inline.





More information about the dev mailing list