From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8085428640F; Fri, 29 Aug 2025 07:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756454145; cv=none; b=DUIUonqfH5/6F92Jd9rRVqc0t0q0qYTJeELStwd3mIda7k34faE0rh6FZV24Eom4Z6BbfMBUxIwak4ILH5xeZNhAlKSO4WqqrGNqo4lmXKGGZGg0qfAnVkp2KkGMkh/I2hACi76uEQ9phXwppITGBkzGTTpmG5z4ovvLQpwpzpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756454145; c=relaxed/simple; bh=IiAjp2UiG4E4i0m+2wynqH3PCAcCcaK0of1KdBtx1KU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WOIru1Sc4zkjydISOpZ6ugOvVwhUsUfc5zCtyKZU3sIF1nnhXpm3UbU7CIwP6W33K34N9my0AiqehwXXk8cylf3F//1mjx5ymz1nQttUKWeECrKq0WoAqQVuyPkS9S69LVg+1umX4dNRtphQf0D0aZrcVIWnBem/mX5yPj92u1g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Te+Cyhfc; arc=none smtp.client-ip=209.85.216.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Te+Cyhfc" Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-327b3e24637so1031159a91.3; Fri, 29 Aug 2025 00:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756454143; x=1757058943; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rNDvUkQSM5YXWXIzm38SWG/hRRo/bsx6SYKE7k7lSmY=; b=Te+CyhfceB/hQFC2ugw0rJEhmI/KW4JKyTtN6JmTijZOMyL1ATlXiQNNMxif59RyFk umjlc0gjOlz9m9peOKUq3ef0raxlm4B6kiRWLfLciOhjs8b9yBsaL9bO0PFFtzMptDYL 7+pvJIfd/atOXY4ZFSLWOsOBtDH5cMx53k5qvrMzWajCjFG6Me5vrMlweFXkeHZzM3Yy mpxV/LZ9fSFOjVOT44kKxHMciPVYcZ/sU0cBwiFuqmPwJ4uFpU8kRxq814hiin280GMS Ru5oL0BrOtyrBRNzTDX5cZ/C33d2wddUD3q2fj4HoWVcZtb/06lNgy5CLStmfWoen3BZ sd1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756454143; x=1757058943; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rNDvUkQSM5YXWXIzm38SWG/hRRo/bsx6SYKE7k7lSmY=; b=wMmCa9ArE6Z7qrIJ7qNgbiOp3kLK2sitnlceRUamOCPHQPjeZYN02G2r4aQDVwkeXz vydOF7TghSpe1d/j0zHNwF5kifn4pI4sJ+ap/xB3LEjrqnQr8Q4u8BvoxGCC2UzCtBC7 dVcZVKdT1ou+UETh6ITXYeKO/0WIlTr5+T+lxj88DHOJq2xqqriMEqLNbngC2JXg9vWr H5hWpskitemLL9rkfuUVe9j1YcFFYXehZM7vCbYvW/W/BA7/9yU9IxxMQfd9XbH9uPgX HfQStXmjALEB8sjEC9oWEL4aa8Abz0gKYV75tNAZMmmaOLlHi8SzfG6LpShJrb2YSgPs cd1Q== X-Forwarded-Encrypted: i=1; AJvYcCUrTnF262OXQdmcnzmvBHgJ8/k+lo35OfVSm+9mEL2zj/T+XRbdugiPibPmx4uE6pn/kbNMfuxTDnEDYMux@vger.kernel.org, AJvYcCUwpW5osXliCSgPHwTSCD6xK0o0N5diAJDwLdD/Nz1NoHyHccU3n3AthZUVGlIxdv71pWMdG7bkWSS4UCk=@vger.kernel.org, AJvYcCUxQ9AkO+jV0kQrmNeOHiVVFpPJrBuQbSyfurXzGpfSxCS4o2y1UGG0WPqltpUChlbBrYtCDyt4@vger.kernel.org, AJvYcCVPDmyKfaKr3WUZ10t2tspoMg1zcvt17XLkPCLcr0lrVzvqiWYDs2p68XjdxsH7bIb0YdRDoKqrN9oWfg==@vger.kernel.org, AJvYcCVcFCVLMKzNNvSJan3Wd9rvvC5avPeUJyIMDKUwbmM1DFNh8JLs56bkrubWeySSbOQLU915sjTeAabS@vger.kernel.org, AJvYcCVrbExrglFChbd2JFJNrx26oeRDTPzWJHYudKeP9E3gSMlJ5bHcpwhuCW78E9jc5yxfbU0=@vger.kernel.org, AJvYcCX39Uwy7rYv+oYFOEHVVl/Kkmwsg9izYoaMXTgA+qUsIRvJy9nqGlSGq4//lARzoyOeSm1hiZprfD4=@vger.kernel.org, AJvYcCXN2r209pc4HQy2nn0N0D764ZcbX8UOWE1ptGnf+lic/pYAJtHvLpahG5vpawtLU6SINGQJGYzW2Yf6T8Q=@vger.kernel.org, AJvYcCXlj1z5J6DGPhRFvx/Vs5oLbsY0A8rX3tkamyFnmLSL42ECYL3laa5SLoi5iu3sXEL4hyzOxFXujdiy@vger.kernel.org X-Gm-Message-State: AOJu0YzEeyqw4yjqVGueRTa2RZYkT9RUCbKDkiGdYRb0WuYOth68jx8W JOD/YujKeJxlZOfYVNU/Q7LgtDJOBrSHNOwMENtukLj6/c16FptK6BQl X-Gm-Gg: ASbGncuNlrbTkJOJrn7qsUSWC8WAtKQz2Ut6LgkLO/tgWzkUkgWVfqjP5PnIsqqFog9 zLkwxdXS+iUEu/bslyWX+kKiQ6qsjX0JCZJHFo49IK9msNqsxmlrmrojHtVY73Ks8uJsqWzk3tw FGsIFDUixeRIvHGHFw/q4Crfwl36NAohSqA9ojmFo+p++aa+tni45FC0LTQZmNcquOJ2pgB67ge e7fJUVmzhPVjOYZdGrGPIfA3UOYhDN7t2CKAwV2ezNlJVLPoV5kgukYCWma86RJjb/jJlCgYOe6 2K0zmb+3z3fjhmb7i5l2U3Do71LRwq5oLEdDF1e6raYj2CWJFUbaZY9d9xx5cENjukX2WJbZTJ6 xphfOx+nL7aFdPEJNFPhwtQvaVUClVA8eolsm X-Google-Smtp-Source: AGHT+IG3+4PiXre8myZJXbMXtIyGoT2Zo+1v7SoTFErR1CQFe7OBynTDKWH1/q0UIz7vCvtEP71Wtg== X-Received: by 2002:a17:90b:4c02:b0:324:ece9:6afb with SMTP id 98e67ed59e1d1-32515eadfb6mr30884939a91.3.1756454142399; Fri, 29 Aug 2025 00:55:42 -0700 (PDT) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3276fcd48cesm7365898a91.19.2025.08.29.00.55.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Aug 2025 00:55:37 -0700 (PDT) Received: by archie.me (Postfix, from userid 1000) id 8D99044808FE; Fri, 29 Aug 2025 14:55:28 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux DAMON , Linux Memory Management List , Linux Power Management , Linux Block Devices , Linux BPF , Linux Kernel Workflows , Linux KASAN , Linux Devicetree , Linux fsverity , Linux MTD , Linux DRI Development , Linux Kernel Build System , Linux Networking , Linux Sound Cc: Thomas Gleixner , Borislav Petkov , Peter Zijlstra , Josh Poimboeuf , Pawan Gupta , Jonathan Corbet , SeongJae Park , Andrew Morton , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Huang Rui , "Gautham R. Shenoy" , Mario Limonciello , Perry Yuan , Jens Axboe , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Dwaipayan Ray , Lukas Bulwahn , Joe Perches , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Eric Biggers , tytso@mit.edu, Richard Weinberger , Zhihao Cheng , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Nathan Chancellor , Nicolas Schier , Ingo Molnar , Will Deacon , Boqun Feng , Waiman Long , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shay Agroskin , Arthur Kiyanovski , David Arinzon , Saeed Bishara , Andrew Lunn , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Alexandru Ciobotaru , The AWS Nitro Enclaves Team , Jesper Dangaard Brouer , Bagas Sanjaya , Laurent Pinchart , Steve French , Meetakshi Setiya , Greg Kroah-Hartman , "Martin K. Petersen" , Bart Van Assche , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Masahiro Yamada Subject: [PATCH 06/14] Documentation: bpf: Convert external kernel docs link Date: Fri, 29 Aug 2025 14:55:16 +0700 Message-ID: <20250829075524.45635-7-bagasdotme@gmail.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250829075524.45635-1-bagasdotme@gmail.com> References: <20250829075524.45635-1-bagasdotme@gmail.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2744; i=bagasdotme@gmail.com; h=from:subject; bh=IiAjp2UiG4E4i0m+2wynqH3PCAcCcaK0of1KdBtx1KU=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDBkbY162Whs7TnrT1LggM0BOd5LEqfAiXtc37zS3e5gl8 vnwGP7sKGVhEONikBVTZJmUyNd0epeRyIX2tY4wc1iZQIYwcHEKwES+TGNkWCZ94c28TXy5tQ2r bD/4zPoTU9D/g2m/U+vihV++Li1Y5MvI8PjMzk3qf6eEm+VfELaazHDuklKIXI/3z+ub9I0rLF5 X8QIA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit Convert links to other docs pages that use external links into internal cross-references. Signed-off-by: Bagas Sanjaya --- Documentation/bpf/bpf_iterators.rst | 3 +-- Documentation/bpf/map_xskmap.rst | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/bpf/bpf_iterators.rst b/Documentation/bpf/bpf_iterators.rst index 189e3ec1c6c8e0..c8e68268fb3e76 100644 --- a/Documentation/bpf/bpf_iterators.rst +++ b/Documentation/bpf/bpf_iterators.rst @@ -123,8 +123,7 @@ which often takes time to publish upstream and release. The same is true for pop tools like `ss `_ where any additional information needs a kernel patch. -To solve this problem, the `drgn -`_ tool is often used to +To solve this problem, the :doc:`drgn ` tool is often used to dig out the kernel data with no kernel change. However, the main drawback for drgn is performance, as it cannot do pointer tracing inside the kernel. In addition, drgn cannot validate a pointer value and may read invalid data if the diff --git a/Documentation/bpf/map_xskmap.rst b/Documentation/bpf/map_xskmap.rst index dc143edd923393..58562e37c16a01 100644 --- a/Documentation/bpf/map_xskmap.rst +++ b/Documentation/bpf/map_xskmap.rst @@ -10,7 +10,7 @@ BPF_MAP_TYPE_XSKMAP The ``BPF_MAP_TYPE_XSKMAP`` is used as a backend map for XDP BPF helper call ``bpf_redirect_map()`` and ``XDP_REDIRECT`` action, like 'devmap' and 'cpumap'. -This map type redirects raw XDP frames to `AF_XDP`_ sockets (XSKs), a new type of +This map type redirects raw XDP frames to AF_XDP sockets (XSKs), a new type of address family in the kernel that allows redirection of frames from a driver to user space without having to traverse the full network stack. An AF_XDP socket binds 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 For a detailed explanation of the AF_XDP interface please see: - `libxdp-readme`_. -- `AF_XDP`_ kernel documentation. +- Documentation/networking/af_xdp.rst. .. note:: The most comprehensive resource for using XSKMAPs and AF_XDP is `libxdp`_. .. _libxdp: https://github.com/xdp-project/xdp-tools/tree/master/lib/libxdp -.. _AF_XDP: https://www.kernel.org/doc/html/latest/networking/af_xdp.html .. _bpf-examples: https://github.com/xdp-project/bpf-examples .. _libxdp-readme: https://github.com/xdp-project/xdp-tools/tree/master/lib/libxdp#using-af_xdp-sockets -- An old man doll... just what I always wanted! - Clara