On 6/1/20 4:28 PM, David Ahern wrote: >> >> and that selftest is imo too primitive. > > I focused the selftests on API changes introduced by this set - new > attach type, valid accesses to egress_ifindex and not allowing devmap > programs with xdp generic. > >> It's only loading progs and not executing them. >> Could you please add prog_test_run to it? >> > > I will look into it. > The test_run infrastructure does not handle XDP_REDIRECT which is needed to step into the devmap code and then run programs tied to devmap entries.