aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Protopopov <[email protected]>2023-06-22 09:54:07 +0000
committerDaniel Borkmann <[email protected]>2023-06-22 19:44:22 +0200
commit2404dd01b53430e4ab78fc9ca069e9e93fd22059 (patch)
tree8c606fd8cda3a99a4e3a1ecb2d18d0ac1201281e
parentee77f3d602b0116203151fee372817c194970213 (diff)
bpf, docs: BPF Iterator Document
Fix the description of the seq_info field of the bpf_iter_reg structure which was wrong due to an accidental copy/paste of the previous field's description. Fixes: 8972e18a439d ("bpf, docs: BPF Iterator Document") Signed-off-by: Anton Protopopov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
-rw-r--r--Documentation/bpf/bpf_iterators.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/Documentation/bpf/bpf_iterators.rst b/Documentation/bpf/bpf_iterators.rst
index 6d7770793fab..07433915aa41 100644
--- a/Documentation/bpf/bpf_iterators.rst
+++ b/Documentation/bpf/bpf_iterators.rst
@@ -238,11 +238,8 @@ The following is the breakdown for each field in struct ``bpf_iter_reg``.
that the kernel function cond_resched() is called to avoid other kernel
subsystem (e.g., rcu) misbehaving.
* - seq_info
- - Specifies certain action requests in the kernel BPF iterator
- infrastructure. Currently, only BPF_ITER_RESCHED is supported. This means
- that the kernel function cond_resched() is called to avoid other kernel
- subsystem (e.g., rcu) misbehaving.
-
+ - Specifies the set of seq operations for the BPF iterator and helpers to
+ initialize/free the private data for the corresponding ``seq_file``.
`Click here
<https://lore.kernel.org/bpf/[email protected]/>`_