Home
last modified time | relevance | path

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

/openbmc/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`_.
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h14 #ifndef AF_XDP
15 #define AF_XDP 44 macro
19 #define PF_XDP AF_XDP
H A 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()
/openbmc/linux/Documentation/networking/
H A 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)::
H A 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 …]
H A Dnapi.rst218 applications and especially applications using AF_XDP sockets) may not
/openbmc/linux/net/xdp/
H A Dxsk_diag.c108 msg->xdiag_family = AF_XDP; in xsk_diag_fill()
198 .family = AF_XDP,
215 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, AF_XDP);
H A Dxsk.c1098 if (sxdp->sxdp_family != AF_XDP) in xsk_bind()
/openbmc/linux/tools/perf/trace/beauty/include/linux/
H A Dsocket.h238 #define AF_XDP 44 /* XDP sockets */ macro
292 #define PF_XDP AF_XDP
/openbmc/linux/include/linux/
H A Dsocket.h238 #define AF_XDP 44 /* XDP sockets */ macro
292 #define PF_XDP AF_XDP
/openbmc/qemu/qapi/
H A Dnet.json440 # AF_XDP network backend
460 # already open but not bound AF_XDP sockets in the queue order.
/openbmc/qemu/
H A Dmeson_options.txt134 description: 'AF_XDP network backend support')
H A Dqemu-options.hx2866 " attach to the existing network interface 'name' with AF_XDP socket\n"
2871 " use 'sock-fds' to provide file descriptors for already open AF_XDP sockets\n"
3568 Configure AF_XDP backend to connect to a network interface 'name'
3569 using AF_XDP socket. A specific program attach mode for a default
3588 these queues can be used for AF_XDP sockets. NICs that work this way
H A DMAINTAINERS3140 AF_XDP network backend
H A Dmeson.build4762 summary_info += {'AF_XDP support': libxdp}
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dice.rst28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that
/openbmc/linux/
H A DMAINTAINERS23570 XDP SOCKETS (AF_XDP)