IB/mlx4: Add strong ordering to local inval and fast reg work requests
commit551f9324e3fe9b3981e6fd0dd6c8828d67879e3b
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Fri, 5 Jun 2009 17:36:24 +0000 (5 10:36 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:40:46 +0000 (2 16:40 -0700)
treea97f3d0ff77770bd6419422d8d049a9e369f7579
parentf88319f901c05f61234274c1f7eb5437a3b4ef77
IB/mlx4: Add strong ordering to local inval and fast reg work requests

commit 2ac6bf4ddc87c3b6b609f8fa82f6ebbffeac12f4 upstream.

The ConnectX Programmer's Reference Manual states that the "SO" bit
must be set when posting Fast Register and Local Invalidate send work
requests.  When this bit is set, the work request will be executed
only after all previous work requests on the send queue have been
executed.  (If the bit is not set, Fast Register and Local Invalidate
WQEs may begin execution too early, which violates the defined
semantics for these operations)

This fixes the issue with NFS/RDMA reported in
<http://lists.openfabrics.org/pipermail/general/2009-April/059253.html>

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/hw/mlx4/qp.c
include/linux/mlx4/qp.h