selftests/bpf: Use ifname instead of ifindex in XDP compliance test tool
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 9 Mar 2023 17:32:40 +0000 (18:32 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 9 Mar 2023 19:52:30 +0000 (20:52 +0100)
commit27a36bc3cdd5e0420eea90762d69bea34daf97e1
tree71bf51a185b0aa483452213b3cc75e256010f25f
parent5a70f4a63000ba68004fb3c1aaf2f90303dd228f
selftests/bpf: Use ifname instead of ifindex in XDP compliance test tool

Rely on interface name instead of interface index in error messages or
logs from XDP compliance test tool.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/7dc5a8ff56c252b1a7ae29b059d0b2b1543c8b5d.1678382940.git.lorenzo@kernel.org
tools/testing/selftests/bpf/xdp_features.c