Andrii and Toke inspired me. You are right, the libbpf version should be included in -V output
, but not mine. I searched google and found this page: https://www.spinics.net/lists/netdev/msg700482.html
, according which I re-compiled iproute2 and it works.
Previously, I downloaded iproute2(5.13) and excuted "cd iproute2; make && make install". Libbpf which supports
btf-defined map is not included.
在 2021/7/14 10:48 PM, Alexei Starovoitov 写道:
On Wed, Jul 14, 2021 at 1:24 AM luwei (O) <luwei32@xxxxxxxxxx> wrote:
Hi Andrii and toke,
I have sovled this issue. The reason is that my iproute2 does not
support libbpf, once I compile iproute2 with libbpf, it works. Thanks
for reply!
How did you figure that out?
I thought iproute folks should have included that info as part of -V output.
Since this exact concern was hotly debated in the past.
Non-vendoring clearly causes this annoying user experience.
.
--
Best Regards,
Lu Wei