xdp-tutorial icon indicating copy to clipboard operation
xdp-tutorial copied to clipboard

eBPF Map iterator

Open svittal19 opened this issue 3 years ago • 1 comments

Hi, Is there any way to iterate through eBPF Map elements in kernel space. I know that there is one at user space bpf_map_get_next_key(). But I have a requirement to find the record in Map which has the least value in kernel space and pick it for further processing. Kindly help Thanks Shwetha

svittal19 avatar Jan 27 '21 12:01 svittal19

svittal19 [email protected] writes:

Hi, Is there any way to iterate through eBPF Map elements in kernel space. I know that there is one at user space bpf_map_get_next_key(). But I have a requirement to find the record in Map which has the least value in kernel space and pick it for further processing. Kindly help

I think a better place to ask this is on the xdp-newbies list: [email protected]

tohojo avatar Jan 27 '21 12:01 tohojo