IB/SA Agent: Add support for SA agent get ClassPortInfo
authorErez Shitrit <erezsh@mellanox.com>
Wed, 25 May 2016 19:02:05 +0000 (22:02 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 25 May 2016 19:39:02 +0000 (15:39 -0400)
commit628e6f75156eac6979eacc2e9383e41f6432beb4
tree6de607b2d5ee7f522510ea3c1a88b8d6cf469a21
parent507f6afa3ab6c9473d81c8091be0d1b859509a6d
IB/SA Agent: Add support for SA agent get ClassPortInfo

New SA query function to return the ClassPortInfo struct from the SA.
If the SM supports FullMemberSendOnly mode for MCG's, it sets a
capability bit in the capability_mask2 field of the response.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sa_query.c
include/rdma/ib_sa.h