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

2019-03-07 Thread Shahaf Shuler
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, t

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

2019-02-28 Thread Dekel Peled
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: po