diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2006-02-27 13:44:40 -0800 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-03-01 14:36:38 -0800 |
commit | bbcd4f26d39853dd7a158d20eece8c337efe6441 (patch) | |
tree | 03620d3755e78b985d0a80b44871748b8d431f9b /drivers/acpi | |
parent | 93e3d00a9f0158e522cada1088233fad23247882 (diff) |
[PATCH] IB/mthca: max_inline_data handling tweaks
Fix a case where copying max_inline_data from a successful create_qp
capabilities output to create_qp input could cause EINVAL error:
mthca_set_qp_size must check max_inline_data directly against
max_desc_sz; checking qp->sq.max_gs is wrong since max_inline_data
depends on the qp type and does not involve max_sg.
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions