2024-05-13 18:37 (UTC+0300), Oleksandr Nahnybida:
[snip]
> I think  ignore_msk |= last_msk;  should be replaced by cur_msk &=
> last_msk; I tried this and dpdk doesn't crash anymore and seems to
> work fine, but I'd like someone else familiar with this code to take a look
> at this.

I confirm this bug exists and the proposed fix works. We have encountered it
too and the same fix has been working in the field for some time by now.

To clarify the bug condition, our conclusion is that it happens when:
- the size of memseg array is not a multiple of 64
- the last array element is free (for rte_fbarray_find_next_n_free)
- there aren't consequent N free elements in the array

Reply via email to