Re: [PATCH v2 3/3] tools: add selftest for BPF_F_ZERO_SEED

2018-10-08 Thread Song Liu
On Mon, Oct 8, 2018 at 3:34 AM Lorenz Bauer wrote: > > Check that iterating two separate hash maps produces the same > order of keys if BPF_F_ZERO_SEED is used. > > Signed-off-by: Lorenz Bauer > --- > tools/testing/selftests/bpf/test_maps.c | 68 + > 1 file changed, 57 in

[PATCH v2 3/3] tools: add selftest for BPF_F_ZERO_SEED

2018-10-08 Thread Lorenz Bauer
Check that iterating two separate hash maps produces the same order of keys if BPF_F_ZERO_SEED is used. Signed-off-by: Lorenz Bauer --- tools/testing/selftests/bpf/test_maps.c | 68 + 1 file changed, 57 insertions(+), 11 deletions(-) diff --git a/tools/testing/selftests/