Re: [dpdk-dev] [PATCH v3] net/mlx5: fix link status is always inconsist

2017-02-01 Thread Ferruh Yigit
On 1/31/2017 3:40 PM, Nélio Laranjeiro wrote: > On Tue, Jan 31, 2017 at 03:13:38PM +0200, Shahaf Shuler wrote: >> Query the link status can end up in an inconsist state where the port is >> down but it is reporting speed. For that another query is scheduled for a >> later time. >> A race condition

Re: [dpdk-dev] [PATCH v3] net/mlx5: fix link status is always inconsist

2017-01-31 Thread Nélio Laranjeiro
On Tue, Jan 31, 2017 at 03:13:38PM +0200, Shahaf Shuler wrote: > Query the link status can end up in an inconsist state where the port is > down but it is reporting speed. For that another query is scheduled for a > later time. > A race condition is possible between the scheduled call and other lin

[dpdk-dev] [PATCH v3] net/mlx5: fix link status is always inconsist

2017-01-31 Thread Shahaf Shuler
Query the link status can end up in an inconsist state where the port is down but it is reporting speed. For that another query is scheduled for a later time. A race condition is possible between the scheduled call and other link status interrupt handlers. When the scheduled query by-pass those han