IB/core: Add core header changes needed for OPA
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Thu, 30 Jul 2015 19:17:32 +0000 (15:17 -0400)
committerDoug Ledford <dledford@redhat.com>
Sat, 29 Aug 2015 02:54:50 +0000 (22:54 -0400)
commitd4ab347005fb26f414b98b2c8d5ef6de5778c3dc
treedd0ecc07de465088daceec1fc5d6adcbf9d1210c
parent072bf1f7e4b5963034df35460f5f311396347a36
IB/core: Add core header changes needed for OPA

This patch adds the value of the CNP opcode to the existing list of enumerated
opcodes in ib_pack.h

Add common OPA header definitions for driver
build:
- opa_port_info.h
- opa_smi.h
- hfi1_user.h

Additionally, ib_mad.h, has additional definitions
that are common to ib_drivers including:
- trap support
- cca support

The qib driver has the duplication removed in favor
those in ib_mad.h

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: John, Jubin <jubin.john@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_mad.h
include/rdma/ib_mad.h
include/rdma/ib_pack.h
include/rdma/opa_port_info.h [new file with mode: 0644]
include/rdma/opa_smi.h
include/uapi/rdma/hfi/hfi1_user.h [new file with mode: 0644]