On 9/25/24 3:37 AM, Martin KaFai Lau wrote:
I am not sure which case in xdp_features.c does not have existing coverage in test_progs. From a quick look, it seems only BPF_MAP_TYPE_CPUMAP is missing (please check)?
Re: CPUMAP, I noticed there is a xdp_(cpu)map_attach.c test but it only does attach test. May be something similar can be done like https://lore.kernel.org/bpf/20240911-devel-koalo-fix-ingress-ifindex-v4-2-5c643ae10258@xxxxxxxxxxxxx/ to exercise the xdp prog that does cpumap redirect.