]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Move opa_class_port_info definition to header file
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Fri, 28 Apr 2017 21:47:10 +0000 (17:47 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 22:10:05 +0000 (18:10 -0400)
commite048657efd325a13b55b56fe1f881312a20a7a28
tree91fb2b04121cb4d73f7d6d157e1ee07852bbb28a
parent681e78b083f61d3e1ce742458137aaa715b45c23
IB/core: Move opa_class_port_info definition to header file

Both opa_vnic and the hfi driver use the same opa_classport_info
definition. We will also have ib_sa capable of querying opa class
port info and would need this definition. Move it to ib_mad.h
for everyone to use.

Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c
drivers/infiniband/ulp/opa_vnic/opa_vnic_vema.c
include/rdma/ib_mad.h