]> err.no Git - linux-2.6/commit
IB/mthca: Safer max_send_sge/max_recv_sge calculation
authorMichael S. Tsirkin <mst@mellanox.co.il>
Fri, 18 Nov 2005 22:11:17 +0000 (14:11 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 18 Nov 2005 22:11:17 +0000 (14:11 -0800)
commit48fd0d1fdd357caa2de8cb4ce6af810df7535f43
tree09e6f5113d908a7f059cc0b374c545d69e0f2a1d
parentcbc5b2bb9e226c2b2b981836d2289912e2ef3c1c
IB/mthca: Safer max_send_sge/max_recv_sge calculation

Calculation of QP capabilities still isn't exactly right in mthca:
max_send_sge/max_recv_sge fields returned in create_qp can exceed the
handware supported limits.

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