[dpdk-dev] [dpdk-stable] [PATCH v3] net/mlx5: fix deadlock due to buffered slots in Rx SW ring

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 11 02:43:37 CEST 2017


On 10/10/2017 3:04 PM, Yongseok Koh wrote:
> When replenishing Rx ring, there're always buffered slots reserved between
> consumed entries and HW owned entries. These have to be filled with fake
> mbufs to protect from possible overflow rather than optimistically
> expecting successful replenishment which can cause deadlock with
> small-sized queue.
> 
> Fixes: fc048bd52cb7 ("net/mlx5: fix overflow of Rx SW ring")
> Cc: stable at dpdk.org
> 
> Reported-by: Martin Weiser <martin.weiser at allegro-packets.com>
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Tested-by: Martin Weiser <martin.weiser at allegro-packets.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list