aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mthca/mthca_srq.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@mellanox.co.il>2005-12-15 19:59:01 -0800
committerRoland Dreier <rolandd@cisco.com>2005-12-15 19:59:01 -0800
commitc4342d8a4d95e18b957b898dbf5bfce28fca2780 (patch)
treefbaaaa50351a71f03b013b86ba32ef01bea19472 /drivers/infiniband/hw/mthca/mthca_srq.c
parentd1646f86a2a05a956adbb163c81a81bd621f055e (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>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_srq.c')
0 files changed, 0 insertions, 0 deletions