IB/core: Add ib headers for general use
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 6 Sep 2016 11:34:49 +0000 (04:34 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 2 Oct 2016 12:40:35 +0000 (08:40 -0400)
commit7368ef023515ce5affb44fa3fd4935c70e6a573f
treed052bce89ea979b6429b15dec9cf6758fec247d6
parent4d6f85c3fa55e00ebde75a74b070f2ed4b93e869
IB/core: Add ib headers for general use

Add IB headers, defines, and accessors that are identical
in both qib and hfi1 into the core includes.

The accessors for be maintenance of __be64 fields since
alignment is potentially invalid and can differ based on
the presense of the GRH.

{hfi1,qib}_ib_headers will be ib_headers.
{hfi1,qib|_other_headers will be ib_other_headers.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_hdrs.h [new file with mode: 0644]