[PATCH v5] lib/net: add MPLS insert and strip functionality

2023-06-10 Thread Tanzeel-inline
None of the foundational NICs currently supports MPLS insertion and stripping, this functionality can help users who rely on MPLS in their network application. Signed-off-by: Tanzeel Ahmed --- This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS s

[PATCH v4] lib/net: add MPLS insert and strip functionality

2023-02-25 Thread Tanzeel-inline
From: Tanzeel Ahmed This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS strip functionality to address the question asked in last patch. > You should explain why you add this function. None of the foundational NICs currently supports MPLS insertio

[PATCH v3] lib/net: add MPLS insert and strip functionality

2023-02-24 Thread Tanzeel-inline
From: Tanzeel Ahmed This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS strip functionality to address the question asked in last patch. > You should explain why you add this function. None of the foundational NICs currently supports MPLS insertio

[PATCH v3] lib/net: add MPLS insert and strip functionality

2023-02-24 Thread Tanzeel-inline
From: Tanzeel Ahmed This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS strip functionality to address the question asked in last patch. > You should explain why you add this function. None of the foundational NICs currently supports MPLS insertio

[PATCH v2] lib/net: add MPLS insert and strip functionality

2023-02-19 Thread Tanzeel-inline
From: Tanzeel Ahmed This patch is new version of [PATCH] lib/net: added push MPLS header API. I have also added the MPLS strip functionality in the same patch to address the question asked in last patch. > You should explain why you add this function. None of the foundational NICs currently supp

[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 +++

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

2022-12-17 Thread Tanzeel-inline
Push MPLS header after ethernet header, updates ethernet type and MPLS bs bit if required. Signed-off-by: Tanzeel Ahmed --- .mailmap | 1 + lib/net/rte_mpls.h | 59 ++ 2 files changed, 60 insertions(+) diff --git a/.mailmap b/.mail