IB/mthca: Query port fix
authorJack Morgenstein <jackm@mellanox.co.il>
Wed, 4 Oct 2006 11:56:34 +0000 (13:56 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Oct 2006 19:50:36 +0000 (12:50 -0700)
commita8bf4e7717142b0688a726dd07501a6a7783792a
tree4e1219cd75c1dbd988827b4ed6877ea11b56f9f5
parent01cb9bcbd34b7ba768a7f05375faf43becdb8a60
IB/mthca: Query port fix

Fill in "max_vl_num" (encoded according to VLCap field in the PortInfo MAD)
and "init_type_reply" values in the ib_query_port() verb.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_provider.c