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)
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>

No differences found