python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Unable to fetch data using bpf_map_lookup_elem()
I am trying to write a code for XDP where a user space program will populate a bpf map and then later the Kernel will look into the map. For creating the map I have added a SEC(".maps") in t...
Rishab
Votes: 0
Answers: 1
BPF / XDP: 'bpftool batch file' returns 'Error: reading batch file failed: Operation not permitted'
I have a docker container with an XDP program loaded on it. I also have a batch file for the bpftool to run. When I run bpftool batch file tmp_bpftool.txt, I get Error: reading batch file failed: Oper...
Ferrar
Votes: 0
Answers: 1
eBPF: 'bpf_map_update()' returns the 'invalid indirect read from stack' error
I have an eBPF program with the following map definitions:
struct bpf_map_def SEC("maps") servers = {
.type = BPF_MAP_TYPE_HASH,
.key_size = sizeof(struct ip_key),
.value_size = ...
Ferrar
Votes: 0
Answers: 1
eBPF / XDP map not getting created
I have an implementation in BPF for XDP, wherein I specify five maps to be created as follows:
struct bpf_map_def SEC("maps") servers = {
.type = BPF_MAP_TYPE_HASH,
.key_...
Ferrar
Votes: 0
Answers: 1