Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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-6.15/Documentation/networking/
H A Daf_xdp.rst4 AF_XDP title
10 AF_XDP is an address family that is optimized for high performance
23 An AF_XDP socket (XSK) is created with the normal socket()
212 in tools/lib/bpf/xsk.h for facilitating the use of AF_XDP. It
235 dropped. E.g. an AF_XDP socket is bound to netdev eth0 and
244 and monitor the behavior of AF_XDP sockets.
552 In order to use AF_XDP sockets two parts are needed. The
566 // has an active AF_XDP socket bound to it.
774 AF_XDP simpler. If you want to know how the raw uapi of AF_XDP is
839 - Björn Töpel (AF_XDP core)
[all …]
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
76 Hardware Clock (PHC) to ensure accuracy. AF_XDP takes a different data path
78 their transmission. Instead, AF_XDP immediately hands off the packets to
H A Dnapi.rst315 applications and especially applications using AF_XDP sockets) may not
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dxdp_helper.c89 sock_fd = socket(AF_XDP, SOCK_RAW, 0); in main()
130 sxdp.sxdp_family = AF_XDP; in main()
/linux-6.15/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.c1164 if (sxdp->sxdp_family != AF_XDP) in xsk_bind()
/linux-6.15/tools/perf/trace/beauty/include/linux/
H A Dsocket.h239 #define AF_XDP 44 /* XDP sockets */ macro
293 #define PF_XDP AF_XDP
/linux-6.15/include/linux/
H A Dsocket.h239 #define AF_XDP 44 /* XDP sockets */ macro
293 #define PF_XDP AF_XDP
/linux-6.15/Documentation/netlink/specs/
H A Dnetdev.yaml30 This feature informs if netdev supports AF_XDP in zero copy mode.
118 doc: Bitmask of enabled AF_XDP features.
305 thus not listed. AF_XDP queues will have more information set in
/linux-6.15/Documentation/networking/device_drivers/ethernet/intel/
H A Dice.rst28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that
/linux-6.15/
H A DMAINTAINERS26521 XDP SOCKETS (AF_XDP)