File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,7 @@ which often takes time to publish upstream and release. The same is true for pop
123123tools like `ss <https://man7.org/linux/man-pages/man8/ss.8.html >`_ where any
124124additional information needs a kernel patch.
125125
126- To solve this problem, the `drgn
127- <https://www.kernel.org/doc/html/latest/bpf/drgn.html> `_ tool is often used to
126+ To solve this problem, the :doc: `drgn <drgn >` tool is often used to
128127dig out the kernel data with no kernel change. However, the main drawback for
129128drgn is performance, as it cannot do pointer tracing inside the kernel. In
130129addition, drgn cannot validate a pointer value and may read invalid data if the
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ BPF_MAP_TYPE_XSKMAP
1010
1111The ``BPF_MAP_TYPE_XSKMAP `` is used as a backend map for XDP BPF helper
1212call ``bpf_redirect_map() `` and ``XDP_REDIRECT `` action, like 'devmap' and 'cpumap'.
13- This map type redirects raw XDP frames to ` AF_XDP `_ sockets (XSKs), a new type of
13+ This map type redirects raw XDP frames to AF_XDP sockets (XSKs), a new type of
1414address family in the kernel that allows redirection of frames from a driver to
1515user space without having to traverse the full network stack. An AF_XDP socket
1616binds to a single netdev queue. A mapping of XSKs to queues is shown below:
@@ -181,12 +181,11 @@ AF_XDP-forwarding programs in the `bpf-examples`_ directory in the `libxdp`_ rep
181181For a detailed explanation of the AF_XDP interface please see:
182182
183183- `libxdp-readme `_.
184- - ` AF_XDP `_ kernel documentation .
184+ - Documentation/networking/af_xdp.rst .
185185
186186.. note ::
187187 The most comprehensive resource for using XSKMAPs and AF_XDP is `libxdp `_.
188188
189189.. _libxdp : https://github.com/xdp-project/xdp-tools/tree/master/lib/libxdp
190- .. _AF_XDP : https://www.kernel.org/doc/html/latest/networking/af_xdp.html
191190.. _bpf-examples : https://github.com/xdp-project/bpf-examples
192191.. _libxdp-readme : https://github.com/xdp-project/xdp-tools/tree/master/lib/libxdp#using-af_xdp-sockets
You can’t perform that action at this time.
0 commit comments