aboutsummaryrefslogtreecommitdiff
path: root/xlat/bpf_map_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlat/bpf_map_flags.h')
-rw-r--r--xlat/bpf_map_flags.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xlat/bpf_map_flags.h b/xlat/bpf_map_flags.h
index f7c0a492d..7ec7f9b64 100644
--- a/xlat/bpf_map_flags.h
+++ b/xlat/bpf_map_flags.h
@@ -2,6 +2,12 @@
#if !(defined(BPF_F_NO_PREALLOC) || (defined(HAVE_DECL_BPF_F_NO_PREALLOC) && HAVE_DECL_BPF_F_NO_PREALLOC))
# define BPF_F_NO_PREALLOC 1
#endif
+#if !(defined(BPF_F_NO_COMMON_LRU) || (defined(HAVE_DECL_BPF_F_NO_COMMON_LRU) && HAVE_DECL_BPF_F_NO_COMMON_LRU))
+# define BPF_F_NO_COMMON_LRU 2
+#endif
+#if !(defined(BPF_F_NUMA_NODE) || (defined(HAVE_DECL_BPF_F_NUMA_NODE) && HAVE_DECL_BPF_F_NUMA_NODE))
+# define BPF_F_NUMA_NODE 4
+#endif
#ifdef IN_MPERS
@@ -12,6 +18,8 @@
static
const struct xlat bpf_map_flags[] = {
XLAT(BPF_F_NO_PREALLOC),
+ XLAT(BPF_F_NO_COMMON_LRU),
+ XLAT(BPF_F_NUMA_NODE),
XLAT_END
};