IB/ipath: Fix sanity checks on QP number of WRs and SGEs
authorRalph Campbell <ralph.campbell@qlogic.com>
Thu, 17 Apr 2008 04:09:25 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:25 +0000 (21:09 -0700)
commit10a8c3cd0157948ba421b3b69b89edfba6ddb4a5
treec62b206dec3fcffd274bbdb4dbe8af2257ae2b73
parent69bd74c6968f45a864a394338a63da4b768da6ec
IB/ipath: Fix sanity checks on QP number of WRs and SGEs

The receive queue number of WRs and SGEs shouldn't be checked if a
SRQ is specified.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c