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

2025-01-30 Thread Stephen Hemminger
On Fri, 24 Jan 2025 17:43:31 +0800 Jie Hai wrote: > @@ -456,7 +550,6 @@ uint32_t rte_net_get_ptype(const struct rte_mbuf *m, > ip6h = rte_pktmbuf_read(m, off, sizeof(*ip6h), &ip6h_copy); > if (unlikely(ip6h == NULL)) > return pkt_type; > - >

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

2025-01-24 Thread Jie Hai
Add packet types parse for vxlan/vxlan-gpe/gtp/geneve packets. Signed-off-by: Jie Hai --- lib/net/rte_net.c | 111 ++ 1 file changed, 102 insertions(+), 9 deletions(-) diff --git a/lib/net/rte_net.c b/lib/net/rte_net.c index d680accc1631..f1cd75fdb69b