BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/1] docs: BPF_MAP_TYPE_CPUMAP
@ 2022-11-07 16:52 mtahhan
  2022-11-07 16:52 ` [PATCH bpf-next v3 1/1] " mtahhan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: mtahhan @ 2022-11-07 16:52 UTC (permalink / raw)
  To: bpf, linux-doc
  Cc: jbrouer, thoiland, donhunte, Maryam Tahhan, Lorenzo Bianconi

From: Maryam Tahhan <mtahhan@redhat.com>

Add documentation for BPF_MAP_TYPE_CPUMAP including
kernel version introduced, usage and examples.

Signed-off-by: Maryam Tahhan <mtahhan@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>

v3:
- Updated introduction to use cpumap definition from kernel/bpf/cpumap.c
- Separated examples and APIs under Kernel and Userspace headings.
- Updated Userspace function signatures.
- Fixed typos.
- Migrated the use of u32 types to __u32.

v2:
- Removed TMI.
- Updated example to use a round robin scheme.

Maryam Tahhan (1):
  docs: BPF_MAP_TYPE_CPUMAP

 Documentation/bpf/map_cpumap.rst | 166 +++++++++++++++++++++++++++++++
 kernel/bpf/cpumap.c              |   9 +-
 2 files changed, 172 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/bpf/map_cpumap.rst

-- 
2.35.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-13  0:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07 16:52 [PATCH bpf-next v3 0/1] docs: BPF_MAP_TYPE_CPUMAP mtahhan
2022-11-07 16:52 ` [PATCH bpf-next v3 1/1] " mtahhan
2022-11-07 20:17   ` Yonghong Song
2022-11-13  0:19   ` Akira Yokosawa
2022-11-11 19:29 ` [PATCH bpf-next v3 0/1] " Andrii Nakryiko
2022-11-11 19:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox