Re: [PATCH v3 1/2] net: add ptype parse for tunnel packets

2025-02-21 Thread Jie Hai
On 2025/2/15 0:35, Stephen Hemminger wrote: On Fri, 14 Feb 2025 09:56:37 +0800 Jie Hai wrote: Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- Not sure about this. The original purpose of ptype was to support hardware offload information. Does any

Re: [PATCH v3 1/2] net: add ptype parse for tunnel packets

2025-02-14 Thread Stephen Hemminger
On Fri, 14 Feb 2025 09:56:37 +0800 Jie Hai wrote: > Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. > > Signed-off-by: Jie Hai > --- Not sure about this. The original purpose of ptype was to support hardware offload information. Does any driver do this ptype detection in tunnel

[PATCH v3 1/2] net: add ptype parse for tunnel packets

2025-02-13 Thread Jie Hai
Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- lib/net/rte_net.c | 110 ++ 1 file changed, 102 insertions(+), 8 deletions(-) diff --git a/lib/net/rte_net.c b/lib/net/rte_net.c index d680accc1631..45b63eafc7c6