]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Determine 9B/16B L2 header type based on Address handle
authorDon Hiatt <don.hiatt@intel.com>
Fri, 4 Aug 2017 20:54:16 +0000 (13:54 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 18:22:37 +0000 (14:22 -0400)
commit9e4e8a3a3ad40d792c175c755586c58950cd093c
tree038e3cfcf118c4d7a6053b003ff130985a6a1fab
parentc1e0d348af43031a235fd3ff25d252fcb7800b8a
IB/hfi1: Determine 9B/16B L2 header type based on Address handle

When address handle attributes are initialized, the LIDs are
transformed to be in the 32 bit LID space.
When constructing the header, hfi1 driver will look at the LID
to determine the packet header to be created.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sa_query.c
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/hw/hfi1/verbs.c
drivers/infiniband/hw/hfi1/verbs.h
include/rdma/ib_verbs.h
include/rdma/opa_addr.h