Lines Matching full:xdp
4 XDP RX Metadata
7 This document describes how an eXpress Data Path (XDP) program can access
14 XDP has access to a set of kfuncs to manipulate the metadata in an XDP frame.
16 implement these kfuncs. The set of kfuncs is declared in ``include/net/xdp.h``
22 .. kernel-doc:: net/core/xdp.c
25 .. kernel-doc:: net/core/xdp.c
28 .. kernel-doc:: net/core/xdp.c
31 An XDP program can use these kfuncs to read the metadata into stack
33 consumers, an XDP program can store it into the metadata area carried
42 Within an XDP frame, the metadata layout (accessed via ``xdp_buff``) is
52 An XDP program can store individual metadata items into this ``data_meta``
61 program that redirects XDP frames into the ``AF_XDP`` socket (``XSK``) and
82 This is the path where the packets processed by the XDP program are passed
86 conversion, and the XDP metadata is not used by the kernel when building
87 ``skbs``. However, TC-BPF programs can access the XDP metadata area using
90 In the future, we'd like to support a case where an XDP program
97 Some devices (like virtual ethernet links) support running a second XDP
100 the original metadata. The same applies to XDP programs installed
104 currently supported, which has to be prepared by the initial XDP program
120 netlink. See ``xdp-rx-metadata-features`` attribute set in
128 BPF program that handles XDP metadata.