]> 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)
commit7a0c44cfc1de74a949b5bf21c842671161bdb510
tree91fb2b04121cb4d73f7d6d157e1ee07852bbb28a
parent4a78c083ec0dd55dc6d7a4ca1a5690c949dea3cc
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