RDMA/cxgb3: Turn off RX coalescing for iWARP connections
authorSteve Wise <swise@opengridcomputing.com>
Sun, 19 Sep 2010 00:38:21 +0000 (19:38 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:43:55 +0000 (21:43 -0700)
commitf4fe0c68bc27a9d5d26fdaa13e308a6acfde8bba
treeecfcad0d958d78c593f3e1340df1ec82a97136f1
parent8a5c82d66f02f1010f68517972f3e3f3545a4237
RDMA/cxgb3: Turn off RX coalescing for iWARP connections

commit bec658ff31453a5726b1c188674d587a5d40c482 upstream.

The HW by default has RX coalescing on.  For iWARP connections, this
causes a 100ms delay in connection establishement due to the ingress
MPA Start message being stalled in HW.  So explicitly turn RX
coalescing off when setting up iWARP connections.

This was causing very bad performance for NP64 gather operations using
Open MPI, due to the way it sets up connections on larger jobs.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/hw/cxgb3/iwch_cm.c