summaryrefslogtreecommitdiff
path: root/include/rdma/ib_sa.h
diff options
context:
space:
mode:
authorAlex Vesker <valex@mellanox.com>2016-07-06 16:36:34 +0300
committerDoug Ledford <dledford@redhat.com>2016-08-04 04:03:36 +0300
commit3d3fd74239db7a6f7e07a762f5ee7140215aafc5 (patch)
treedcbe05cc968591528688c77ad05fa20d3670c105 /include/rdma/ib_sa.h
parentd1e09f304a1d9651c5059ebfeb696dc2effc9b32 (diff)
downloadlinux-3d3fd74239db7a6f7e07a762f5ee7140215aafc5.tar.xz
IB/sa: Add cached attribute containing SM information to SA port
Added a new SA port attribute containing SM ClassPortInfo fields, (ClassPortInfo fields: Table 126 IB Spec 1.3.). This is useful for checking SM support for specific features. The attribute is cached to avoid resending queries, caching is done when a successful ClassPortInfo reply is received on the port. Invalidation of the attribute is done on SM change events, SM re-registration events, and SM LID change events. The fields in ClassPortInfo should not change during SM runtime without an event. Signed-off-by: Alex Vesker <valex@mellanox.com> Reviewed by: Hal Rosenstock <hal@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_sa.h')
0 files changed, 0 insertions, 0 deletions