OSDN Git Service

net/mlx4_en: Fix bad WQE issue
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 29 Dec 2016 16:37:10 +0000 (18:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 05:14:37 +0000 (07:14 +0200)
commitf1e6b1149e497dc61ceff290c1d3db259ebf7938
treed06bad4bfb407406aa769cff80fd3c9a2e63aaaf
parent0a007f74b826836074de8bfcb1e197cada993718
net/mlx4_en: Fix bad WQE issue

commit 6496bbf0ec481966ef9ffe5b6660d8d1b55c60cc upstream.

Single send WQE in RX buffer should be stamped with software
ownership in order to prevent the flow of QP in error in FW
once UPDATE_QP is called.

Fixes: 9f519f68cfff ('mlx4_en: Not using Shared Receive Queues')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx4/en_rx.c