mirror of
https://github.com/netdata/libbpf.git
synced 2026-11-07 10:20:15 +08:00
AF_XDP: add xsk.{c,h} to Makefile and fix build
This patch makes sure we build AF_XDP-related code as part of libbpf. This also required copying few uapi/linux headers and adding few used definitions in include headers. Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
1 parent
7a431904c8
commit
cb658e9724
8 files changed
+208
-35
No files matched your search
@@ -39,5 +39,6 @@
|
||||
#endif
|
||||
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user