mbox series

[bpf-next,v3,0/1] docs: BPF_MAP_TYPE_CPUMAP

Message ID 20221107165207.2682075-1-mtahhan@redhat.com (mailing list archive)
Headers show
Series docs: BPF_MAP_TYPE_CPUMAP | expand

Message

Maryam Tahhan Nov. 7, 2022, 4:52 p.m. UTC
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

Comments

Andrii Nakryiko Nov. 11, 2022, 7:29 p.m. UTC | #1
On Mon, Nov 7, 2022 at 8:06 AM <mtahhan@redhat.com> wrote:
>
> 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
>

Similar to Donald's patch, there is no need for a cover letter for
single patch submission. Applied to bpf-next, thanks.
patchwork-bot+netdevbpf@kernel.org Nov. 11, 2022, 7:30 p.m. UTC | #2
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Mon,  7 Nov 2022 11:52:06 -0500 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/1] docs: BPF_MAP_TYPE_CPUMAP
    https://git.kernel.org/bpf/bpf-next/c/d9c982d25c47

You are awesome, thank you!