]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite427ed5b7420c68639717f60c6e20ca7e463b4a7
treed052bce89ea979b6429b15dec9cf6758fec247d6
parentd2d38344c6ddb9161f7496956c75a1ff0d217a87
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]