Currently the code and makefile to regenerate rss.bpf.skeleton.h
are in tools/ebpf/. This isn't really a good fit, because the tools/
directory ought to be standalone tools of the kind that we build
with configured with --enable-tools and document in docs/tools.

Move it to ebpf/bpf-src with the rest of the ebpf code.

Signed-off-by: Peter Maydell <[email protected]>
---
 {tools/ebpf => ebpf/bpf-src}/Makefile.ebpf | 2 +-
 {tools/ebpf => ebpf/bpf-src}/rss.bpf.c     | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {tools/ebpf => ebpf/bpf-src}/Makefile.ebpf (96%)
 rename {tools/ebpf => ebpf/bpf-src}/rss.bpf.c (100%)

diff --git a/tools/ebpf/Makefile.ebpf b/ebpf/bpf-src/Makefile.ebpf
similarity index 96%
rename from tools/ebpf/Makefile.ebpf
rename to ebpf/bpf-src/Makefile.ebpf
index 572ca5987a..7ed0e3b440 100755
--- a/tools/ebpf/Makefile.ebpf
+++ b/ebpf/bpf-src/Makefile.ebpf
@@ -21,4 +21,4 @@ clean:
 
 %.skeleton.h: %.o
        bpftool gen skeleton $< > $@
-       cp $@ ../../ebpf/
+       cp $@ ..
diff --git a/tools/ebpf/rss.bpf.c b/ebpf/bpf-src/rss.bpf.c
similarity index 100%
rename from tools/ebpf/rss.bpf.c
rename to ebpf/bpf-src/rss.bpf.c
-- 
2.43.0


Reply via email to