xdp example new BPF_MAP_TYPE_LPM_TRIE map requires BPF_F_NO_PREALLOC #945
Unanswered
vincentmli
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I realized ebpf-go will create |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have been playing with examples/xdp to add new map like below
without
__uint(map_flags, BPF_F_NO_PREALLOC);
, I ran into issue withif I add
__uint(map_flags, BPF_F_NO_PREALLOC);
, but then I need to add theenum
forBPF_F_NO_PREALLOC
like above. I am wondering if there are any good advices for me to add the BPF_MAP_TYPE_LPM_TRIE map properlyBeta Was this translation helpful? Give feedback.
All reactions