Re: [PATCH bpf-next v5 05/12] bpf: add bpf_for_each_map_elem() helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 26, 2021 at 12:49 PM Yonghong Song <yhs@xxxxxx> wrote:
> + *
> + *             The following are a list of supported map types and their
> + *             respective expected callback signatures:
> + *
> + *             BPF_MAP_TYPE_HASH, BPF_MAP_TYPE_PERCPU_HASH,
> + *             BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH,
> + *             BPF_MAP_TYPE_ARRAY, BPF_MAP_TYPE_PERCPU_ARRAY:
> + *                 long (*callback_fn)(struct bpf_map *map, const void *key,
> + *                                     void *value, void *ctx);

This part was causing errors and warnings in bpf-helpers.rst.
I fixed it up while applying.

Thanks a lot for the great work! Really exciting feature!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux