Re: No xdp_meta area in tun driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 15.01.25 um 23:43 schrieb Marcus Wichelmann:
Hi,

I noticed that, other than most networking drivers, the `tun` driver has no support for the
XDP metadata area yet. (xdp->data_meta == xdp->data + 1)
Is there a specific reason, why it cannot not be implemented for the tun driver, or is this
just because nobody came around to implement it yet?

The headroom reserved in the tun driver seems high enough (TUN_RX_PAD + XDP_PACKET_HEADROOM),
so I would think that it should fit..?

Thanks!

Marcus Wichelmann
Hetzner Cloud GmbH

For the record, here is a patch for this:
https://lore.kernel.org/bpf/20250130171614.1657224-1-marcus.wichelmann@xxxxxxxxxxxxxxxx/T/#u

Attachment: OpenPGP_0x49D307BF9FAC470E.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux