]> err.no Git - linux-2.6/commit
IB/ehca: Return correct number of SGEs for SRQ
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 10 Dec 2007 11:20:57 +0000 (12:20 +0100)
committerRoland Dreier <rolandd@cisco.com>
Wed, 12 Dec 2007 22:09:43 +0000 (14:09 -0800)
commit1457edc72d187f452be1374c7d9281f1dfa16f32
tree1f50a120763471dc4ba7a95249de41c2c27400eb
parent4af75653031c6d454b4ace47c1536f0d2e727e3e
IB/ehca: Return correct number of SGEs for SRQ

Firmware would round up the number of SGEs to four, because the WQE
structure holds four SGEs. For SRQ, only three are supported, so return
a fixed value instead.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_qp.c