Re: Assertion faileda at samples/bpf/test_maps

2016-10-04 Thread William Tu
Hi Louie, Can you check whether your num_possible_cpu == num_online_cpu? by doing: cat /sys/devices/system/cpu/possible and see how many cpu[0-9] ls /sys/devices/system/cpu/cpu* There is a related discussion here: https://www.mail-archive.com/netdev@vger.kernel.org/msg121258.html Regards,

Assertion faileda at samples/bpf/test_maps

2016-10-02 Thread Louie Lu
Hi everyone, I'm now playing net-next samples/bpf things, and I found that test_maps will give an assertion ``` test_maps: /home/grd/linux/net-next/samples/bpf/test_maps.c:146: test_percpu_hashmap_sanity: Assertion `bpf_lookup_elem(map_fd, , value) == -1 && errno == ENOENT' failed. [1]20706