RE: [PATCH bpf-next v2 6/8] xdp: make cpumap flush_list common for all map instances

John Fastabend
2020-01-07T17:59:50Z

Björn Töpel wrote:
> From: Björn Töpel <bjorn.topel@intel.com>
>
> The cpumap flush list is used to track entries that need to flushed
> from via the xdp_do_flush_map() function. This list used to be
> per-map, but there is really no reason for that. Instead make the
> flush list global for all devmaps, which simplifies __cpu_map_flush()
> and cpu_map_alloc().
>
> Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
> Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
> ---

Consider *map_flush() -> *_flush() change but thats just a small nit
its not too important to me.

Acked-by: John Fastabend <john.fastabend@gmail.com>