]> git.karo-electronics.de Git - karo-tx-linux.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)
commitaa4656d9a4292018c9746dbad1dad5488e575232
tree91fb2b04121cb4d73f7d6d157e1ee07852bbb28a
parent94d595c56077fd8b0f61701e03fd4b3dc8c62038
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