Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix memory barrier incorrectly placed

2021-05-11 Thread Slava Ovsiienko
> -Original Message- > From: dev On Behalf Of Chengwen Feng > Sent: Monday, May 10, 2021 15:06 > To: NBU-Contact-Thomas Monjalon ; > ferruh.yi...@intel.com > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] net/mlx5: fix memory barrier incorrectly > placed &g

[dpdk-dev] [PATCH 2/2] net/mlx5: fix memory barrier incorrectly placed

2021-05-10 Thread Chengwen Feng
The memory barrier is used to ensure that the response is returned only after the Tx/Rx function is set, it should place after the Rx/Tx function is set. Fixes: 2aac5b5d119f ("net/mlx5: sync stop/start with secondary process") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- drivers/net/mlx