Re: [PATCH net-next] net-next/hinic: Fix a case of Tx Queue is Stopped forever

2017-09-28 Thread David Miller
From: Aviad Krawczyk Date: Wed, 27 Sep 2017 02:11:33 +0800 > Fix the following scenario: > 1. tx_free_poll is running on cpu X > 2. xmit function is running on cpu Y and fails to get sq wqe > 3. tx_free_poll frees wqes on cpu X and checks the queue is not stopped > 4. xmit function stops the queu

[PATCH net-next] net-next/hinic: Fix a case of Tx Queue is Stopped forever

2017-09-26 Thread Aviad Krawczyk
Fix the following scenario: 1. tx_free_poll is running on cpu X 2. xmit function is running on cpu Y and fails to get sq wqe 3. tx_free_poll frees wqes on cpu X and checks the queue is not stopped 4. xmit function stops the queue after failed to get sq wqe 5. The queue is stopped forever Signed-of