diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2006-01-06 12:57:30 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-01-06 12:57:30 -0800 |
commit | 5b3bc7a68171138d52b1b62012c37ac888895460 (patch) | |
tree | 63960e2e3f8db5bbe7ef5c9d64e1c5ea3a9124f5 /drivers/char/cp437.uni | |
parent | 466200562ccd80f728f7ef602d2b97b4fdedd566 (diff) |
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>
Diffstat (limited to 'drivers/char/cp437.uni')
0 files changed, 0 insertions, 0 deletions