IB/ehca: Correctly set GRH mask bit in ehca_modify_qp()
authorJoachim Fenkes <fenkes@de.ibm.com>
Wed, 9 May 2007 11:48:01 +0000 (13:48 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 14 May 2007 20:38:57 +0000 (13:38 -0700)
commit92761cdaf215599a1bd81d383facb32adabfa620
tree40e14a4257b36ecca923572e3eeb9ba8c122c87d
parent5d88278e3bdb6f2e4ed43306659e930ecd715f0c
IB/ehca: Correctly set GRH mask bit in ehca_modify_qp()

The driver needs to always supply the "GRH present" flag to the
hypervisor, whether it's true or false. Not supplying it (i.e. not
setting the corresponding mask bit) amounts to a "perhaps", which we
don't want.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_qp.c