On 5/2/2024 10:31 PM, Stephen Hemminger wrote: > The proper place for finding bpf structures and functions is > in linux/bpf.h. The original version was trying to workaround the > case where the build environment was running on old pre BPF > version of Glibc, but the target environment had BPF. > > Having own private (and divergent) version headers leads to future > problems when BPF definitions evolve. > > If the build infrastructure is so old that TC flower is not > supported, then the TAP device will build without any flow support. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> >
Simplification is good, but I hope it doesn't break too many platforms. Acked-by: Ferruh Yigit <ferruh.yi...@amd.com>