Re: [PATCH bpf V2 0/2] bpf: adjust uapi for devmap prior to kernel release

2020-06-09 Thread Alexei Starovoitov
On Tue, Jun 09, 2020 at 03:31:41PM +0200, Jesper Dangaard Brouer wrote: > For special type maps (e.g. devmap and cpumap) the map-value data-layout is > a configuration interface. This is uapi that can only be tail extended. > Thus, new members (and thus features) can only be added to the end of thi

[PATCH bpf V2 0/2] bpf: adjust uapi for devmap prior to kernel release

2020-06-09 Thread Jesper Dangaard Brouer
For special type maps (e.g. devmap and cpumap) the map-value data-layout is a configuration interface. This is uapi that can only be tail extended. Thus, new members (and thus features) can only be added to the end of this structure, and the kernel uses the map->value_size from userspace to determi