Re: [PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-11-03 Thread Andrii Nakryiko
On Mon, Nov 2, 2020 at 3:41 AM David Verbeiren wrote: > > On Thu, Oct 29, 2020 at 11:37 PM Andrii Nakryiko > wrote: > > > > On Thu, Oct 29, 2020 at 11:36 AM Song Liu wrote: > > > > > > On Thu, Oct 29, 2020 at 4:19 AM David Verbeiren > > > wrote: > > > > > > > > Tests that when per-cpu hash map

Re: [PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-11-02 Thread David Verbeiren
On Thu, Oct 29, 2020 at 11:37 PM Andrii Nakryiko wrote: > > On Thu, Oct 29, 2020 at 11:36 AM Song Liu wrote: > > > > On Thu, Oct 29, 2020 at 4:19 AM David Verbeiren > > wrote: > > > > > > Tests that when per-cpu hash map or LRU hash map elements are > > > re-used as a result of a bpf program ins

Re: [PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-10-29 Thread Song Liu
On Thu, Oct 29, 2020 at 3:37 PM Andrii Nakryiko wrote: > > On Thu, Oct 29, 2020 at 11:36 AM Song Liu wrote: > > > > On Thu, Oct 29, 2020 at 4:19 AM David Verbeiren > > wrote: > > > > > > Tests that when per-cpu hash map or LRU hash map elements are > > > re-used as a result of a bpf program inse

Re: [PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-10-29 Thread Andrii Nakryiko
On Thu, Oct 29, 2020 at 11:36 AM Song Liu wrote: > > On Thu, Oct 29, 2020 at 4:19 AM David Verbeiren > wrote: > > > > Tests that when per-cpu hash map or LRU hash map elements are > > re-used as a result of a bpf program inserting elements, the > > element values for the other CPUs than the one e

Re: [PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-10-29 Thread Song Liu
On Thu, Oct 29, 2020 at 4:19 AM David Verbeiren wrote: > > Tests that when per-cpu hash map or LRU hash map elements are > re-used as a result of a bpf program inserting elements, the > element values for the other CPUs than the one executing the > BPF code are reset to 0. > > This validates the f

[PATCH bpf] selftest/bpf: Validate initial values of per-cpu hash elems

2020-10-29 Thread David Verbeiren
Tests that when per-cpu hash map or LRU hash map elements are re-used as a result of a bpf program inserting elements, the element values for the other CPUs than the one executing the BPF code are reset to 0. This validates the fix proposed in: https://lkml.kernel.org/bpf/20201027221324.27894-1-da