[dpdk-dev] [PATCH v2 00/11] ethdev: fix race conditions in iterator and notifications

Andrew Rybchenko arybchenko at solarflare.com
Thu May 10 13:19:47 CEST 2018


On 05/10/2018 01:43 AM, Thomas Monjalon wrote:
> We have discovered some race conditions when using the port iterator
> and/or the notifications recently added.
> The work was done mostly with failsafe but some bugs could
> be reproduced with other drivers.
> These 11 patches are fixing all these issues.
> The PMDs are modified to call a new function after probing each port.
>
> v2 (address Gaetan comments):
> * rename rte_eth_dev_allocated_lock_free to rte_eth_dev_allocated_nolock
> * do not use uint32_t for avoiding port id iteration overflow
>    (should be fixed separately with BUILD_BUG_ON)
>
>
> Quick survey:
> Do you think it is too late to merge these fixes in 18.05?
> Or do you agree that these bugs really deserve to be fixed
> by this series in 18.05-rc3?

I have only questions and some review notes about 10/11 patch only.
I think the series should be included in 18.05-rc3.


More information about the dev mailing list