[PATCH dpdk v6] net/tap: use offsets provided by rte_net_get_ptype

Stephen Hemminger stephen at networkplumber.org
Tue May 19 00:26:35 CEST 2026


On Mon, 18 May 2026 22:54:49 +0200
Robin Jarry <rjarry at redhat.com> wrote:

> Instead of guessing what are the proper header lengths, pass
> a rte_net_hdr_lens struct to rte_net_get_ptype and use it to get the
> proper header lengths/offsets in tap_verify_csum.
> 
> This allows supporting stacked VLAN/QinQ tags.
> 
> Signed-off-by: Robin Jarry <rjarry at redhat.com>
> ---

Applied to next-net


More information about the dev mailing list