Home
last modified time | relevance | path

Searched refs:AF_XDP (Results 1 – 11 of 11) sorted by relevance

/linux/Documentation/bpf/
H A Dmap_xskmap.rst13 This map type redirects raw XDP frames to `AF_XDP`_ sockets (XSKs), a new type of
15 user space without having to traverse the full network stack. An AF_XDP socket
43 An AF_XDP socket that is bound to a certain <netdev/queue_id> will *only*
50 the ``max_entries`` map parameter. For AF_XDP ``max_entries`` is equal to the number
179 For an example on how create AF_XDP sockets, please see the AF_XDP-example and
180 AF_XDP-forwarding programs in the `bpf-examples`_ directory in the `libxdp`_ repository.
181 For a detailed explanation of the AF_XDP interface please see:
184 - `AF_XDP`_ kernel documentation.
187 The most comprehensive resource for using XSKMAPs and AF_XDP is `libxdp`_.
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h17 #ifndef AF_XDP
18 #define AF_XDP 44 macro
22 #define PF_XDP AF_XDP
H A Dxsk.c44 #ifndef AF_XDP
45 #define AF_XDP 44 macro
49 #define PF_XDP AF_XDP
241 umem->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_umem__create()
569 xsk->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_socket__create_shared()
/linux/Documentation/networking/
H A Dxdp-rx-metadata.rst55 the AF_XDP use case, see below).
57 AF_XDP chapter
61 program that redirects XDP frames into the ``AF_XDP`` socket (``XSK``) and
67 ``METADATA_SIZE`` is an application-specific constant (``AF_XDP`` receive
70 Here is the ``AF_XDP`` consumer layout (note missing ``data_meta`` pointer)::
H A Dxsk-tx-metadata.rst4 AF_XDP TX Metadata
38 An AF_XDP application can request headrooms larger than ``sizeof(struct
H A Dnapi.rst284 applications and especially applications using AF_XDP sockets) may not
/linux/net/xdp/
H A Dxsk_diag.c108 msg->xdiag_family = AF_XDP; in xsk_diag_fill()
198 .family = AF_XDP,
216 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, AF_XDP);
H A Dxsk.c1156 if (sxdp->sxdp_family != AF_XDP) in xsk_bind()
/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h239 #define AF_XDP 44 /* XDP sockets */ macro
293 #define PF_XDP AF_XDP
/linux/include/linux/
H A Dsocket.h239 #define AF_XDP 44 /* XDP sockets */ macro
293 #define PF_XDP AF_XDP
/linux/
H A DMAINTAINERS25869 XDP SOCKETS (AF_XDP)