Searched refs:AF_XDP (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/Documentation/bpf/ |
| H A D | map_xskmap.rst | 13 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 D | xskxceiver.h | 17 #ifndef AF_XDP 18 #define AF_XDP 44 macro 22 #define PF_XDP AF_XDP
|
| H A D | xsk.c | 44 #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 D | af_xdp.rst | 4 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 D | xdp-rx-metadata.rst | 55 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 D | xsk-tx-metadata.rst | 4 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 D | napi.rst | 315 applications and especially applications using AF_XDP sockets) may not
|
| /linux-6.15/tools/testing/selftests/drivers/net/ |
| H A D | xdp_helper.c | 89 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 D | xsk_diag.c | 108 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 D | xsk.c | 1164 if (sxdp->sxdp_family != AF_XDP) in xsk_bind()
|
| /linux-6.15/tools/perf/trace/beauty/include/linux/ |
| H A D | socket.h | 239 #define AF_XDP 44 /* XDP sockets */ macro 293 #define PF_XDP AF_XDP
|
| /linux-6.15/include/linux/ |
| H A D | socket.h | 239 #define AF_XDP 44 /* XDP sockets */ macro 293 #define PF_XDP AF_XDP
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | netdev.yaml | 30 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 D | ice.rst | 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 26521 XDP SOCKETS (AF_XDP)
|