commit | c4342d8a4d95e18b957b898dbf5bfce28fca2780 | [log] [tgz] |
---|---|---|
author | Jack Morgenstein <jackm@mellanox.co.il> | Thu Dec 15 19:59:01 2005 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Thu Dec 15 19:59:01 2005 -0800 |
tree | fbaaaa50351a71f03b013b86ba32ef01bea19472 | |
parent | d1646f86a2a05a956adbb163c81a81bd621f055e [diff] |
IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP sae and sre bits should only be set when setting sra_max. Further, in the old code, if the caller specifies max_rd_atomic = 0, the sre and sae bits are still set, with the result that the QP ends up with max_rd_atomic = 1 in effect. 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>