net/mlx4_en: Fix bad WQE issue
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 29 Dec 2016 16:37:10 +0000 (18:37 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 28 Apr 2017 17:30:40 +0000 (19:30 +0200)
commit3369bc41e1b42b8199fd41a7a9e2b9f5964e57be
treef191e07d33beb45e8078c5c643271dd0c88cea90
parent4626de1ab3ca71dbe25ebc90401eec494f744597
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: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/mellanox/mlx4/en_rx.c