[dpdk-dev] [PATCH] net/mlx5: fix sync when handling Tx completions

Shahaf Shuler shahafs at mellanox.com
Thu Mar 7 09:38:40 CET 2019


Thursday, February 28, 2019 5:21 PM, Dekel Peled:
> Subject: [dpdk-dev] [PATCH] net/mlx5: fix sync when handling Tx
> completions
> 
> Function mlx5_tx_complete() reads completion entry information from Tx
> queue.
> For some processors not having strongly-ordered memory model, there has
> to be a memory barrier between reading the entry index and the entry
> fields, in order to guarantee data is valid.
> 
> Fixes: 54d3fe948dba ("net/mlx5: poll completion queue once per a call")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>

Applied to next-net-mlx, thanks. 




More information about the dev mailing list