diff options
author | Aviad Krawczyk <aviad.krawczyk@huawei.com> | 2017-09-27 02:11:33 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-28 10:26:50 -0700 |
commit | bbdc9e687fb3c2920961d7716f1c5519ff7bc595 (patch) | |
tree | 8464c77d3c01a5b2988dd425057f3df53859a0a3 /include/linux/virtio.h | |
parent | 352f58b0d9f26d283b10f4c9f21e8717141c1334 (diff) |
net-next/hinic: Fix a case of Tx Queue is Stopped forever
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-off-by: Aviad Krawczyk <aviad.krawczyk@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/virtio.h')
0 files changed, 0 insertions, 0 deletions