Home
last modified time | relevance | path

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

/linux-6.6.21/Documentation/bpf/
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-6.6.21/tools/testing/selftests/bpf/
Dxskxceiver.h14 #ifndef AF_XDP
15 #define AF_XDP 44 macro
19 #define PF_XDP AF_XDP
Dxsk.c44 #ifndef AF_XDP
45 #define AF_XDP 44 macro
49 #define PF_XDP AF_XDP
239 umem->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_umem__create()
567 xsk->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); in xsk_socket__create_shared()
/linux-6.6.21/Documentation/networking/
Dxdp-rx-metadata.rst47 the AF_XDP use case, see below).
49 AF_XDP chapter
53 program that redirects XDP frames into the ``AF_XDP`` socket (``XSK``) and
59 ``METADATA_SIZE`` is an application-specific constant (``AF_XDP`` receive
62 Here is the ``AF_XDP`` consumer layout (note missing ``data_meta`` pointer)::
Daf_xdp.rst4 AF_XDP title
10 AF_XDP is an address family that is optimized for high performance
19 bpf_redirect_map() function. AF_XDP sockets enable the possibility for
23 An AF_XDP socket (XSK) is created with the normal socket()
81 AF_XDP can operate in two different modes: XDP_SKB and XDP_DRV. If the
86 hand, if the driver has support for XDP, it will be used by the AF_XDP
93 In order to use an AF_XDP socket, a number of associated objects need
97 For an overview on how AF_XDP works, you can also take a look at the
101 at AF_XDP. Nearly everything changed since then. Jonathan Corbet has
103 with AF_XDP". It can be found at https://lwn.net/Articles/750845/.
[all …]
Dnapi.rst218 applications and especially applications using AF_XDP sockets) may not
/linux-6.6.21/net/xdp/
Dxsk_diag.c108 msg->xdiag_family = AF_XDP; in xsk_diag_fill()
197 .family = AF_XDP,
214 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, AF_XDP);
Dxsk.c1098 if (sxdp->sxdp_family != AF_XDP) in xsk_bind()
/linux-6.6.21/include/linux/
Dsocket.h238 #define AF_XDP 44 /* XDP sockets */ macro
292 #define PF_XDP AF_XDP
/linux-6.6.21/tools/perf/trace/beauty/include/linux/
Dsocket.h238 #define AF_XDP 44 /* XDP sockets */ macro
292 #define PF_XDP AF_XDP
/linux-6.6.21/Documentation/netlink/specs/
Dnetdev.yaml30 This feature informs if netdev supports AF_XDP in zero copy mode.
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/intel/
Dice.rst28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that
/linux-6.6.21/
DMAINTAINERS23518 XDP SOCKETS (AF_XDP)