]> git.baikalelectronics.ru Git - kernel.git/commit
IB/CM: Set appropriate slid and dlid when handling CM request
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Thu, 8 Jun 2017 17:38:04 +0000 (13:38 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 8 Aug 2017 18:50:40 +0000 (14:50 -0400)
commit4df93647bba442c1429e6bdf75bafd69c5704d49
tree65ab9367a5ca579ee4167a10d4e4e1f0ddce4f80
parent167225dd30964fd7fc7d5daac1f012ad152cc817
IB/CM: Set appropriate slid and dlid when handling CM request

If extended LIDs are being used, a connection request contains
OPA GIDs in them. Extract the lids from the OPA gids and populate
slid/dlid fields in the path records that are created when handling
a connection request.

Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cm.c