]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mthca: Work around kernel QP starvation
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 12 Apr 2007 15:10:25 +0000 (18:10 +0300)
committerRoland Dreier <rolandd@cisco.com>
Tue, 1 May 2007 00:30:28 +0000 (17:30 -0700)
commitd42a05e5fb54d1fd83357e8c0a9c1d13100b0e80
tree52ee9daec60b678bd304b5936b598296f1d8048f
parentd27817d2f2d679b4b068990314b012c80c7d9c8b
IB/mthca: Work around kernel QP starvation

With mthca, RC QPs can starve each other and even UD QPs on the same
hardware schedule queue.  As a result, userspace MPI can starve
e.g. IPoIB traffic, with netdev watchdog warnings getting printed out,
and TCP connections getting stuck or failing.

Reduce the chance of this happening by using three separate hardware
schedule queues: one for userspace RC QPs, one for kernel RC QPs, and
one for all other QPs.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c