[dpdk-dev] rte_bitmap_init() mem_size argument

From: Andrew Boyer <hidden>
Date: 2021-03-26 01:11:48

Why is mem_size defined as “Minimum expected size of bitmap”?

The code looks strange to me.

It will return an error if you pass in 2KB of memory to hold a 1KB bitmap, but not if you pass in 2KB of memory to hold a 4KB bitmap.

Shouldn’t it be the other way around?

-Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help