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

Stephen Hemminger stephen at networkplumber.org
Thu Jan 30 19:26:50 CET 2025


On Fri, 24 Jan 2025 17:43:31 +0800
Jie Hai <haijie1 at huawei.com> 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;
> -
>  		proto = ip6h->proto;
>  		hdr_lens->inner_l3_len = sizeof(*ip6h);
>  		off += hdr_lens->inner_l3_len;

Random whitespace change, not needed. Please cleanup and resubmit


More information about the dev mailing list