[RFC] Netkit cannot be an XDP_REDIRECT target ?
Alexandre Ferrieux
alexandre.ferrieux at gmail.com
Sun Jun 8 18:56:13 EDT 2025
Hi,
When looking at netkit papers, one tends to view it as a kind of veth, rewritten
for efficiency. However, the feature flags of a netkit never contain
NETDEV_XDP_ACT_NDO_XMIT. In other words, it can never be an XDP_REDIRECT target.
By contrast, xdp-redirecting to a veth works.
This means that netkit is far from being a "drop-in" replacement for veth "just
faster". It rather sounds like unfinished work.
What am I missing here ? Is there another method to pass frames from the XDP RX
hook of an interface to a netkit's ring ? Is netkit "here to stay", being
actively worked on ? Or is it a single-purpose experiment that will never try to
reach veth's functional coverage ?
Thanks for any clarifications.
-Alex
More information about the Kernelnewbies
mailing list