Home
last modified time | relevance | path

Searched refs:cpu_map_fd (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/samples/bpf/
Dxdp_redirect_cpu_user.c39 static int cpu_map_fd; variable
497 ret = bpf_map_update_elem(cpu_map_fd, &cpu, &queue_size, 0); in create_cpu_entry()
593 cpu_map_fd = bpf_object__find_map_fd_by_name(obj, "cpu_map"); in init_map_fds()
609 if (cpu_map_fd < 0 || rx_cnt_map_fd < 0 || in init_map_fds()