summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/ud.c
diff options
context:
space:
mode:
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>2016-07-25 20:40:34 (GMT)
committerDoug Ledford <dledford@redhat.com>2016-08-02 20:00:58 (GMT)
commitb736a469f96a28805296f0e8f0c6aa5206f694d0 (patch)
tree1d62470d0c5f34820eac7a6130ecc35f9582cd7f /drivers/infiniband/hw/hfi1/ud.c
parent89c057cae4deaeab94c652c06b855af2bb754f50 (diff)
downloadlinux-b736a469f96a28805296f0e8f0c6aa5206f694d0.tar.xz
IB/hfi1: Use hdr2sc function to calculate 5-bit SC
The interface is used to compute the 5-bit SC field from the LRH and the RHF bits. Modify code to use the interface instead. 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>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/ud.c')
0 files changed, 0 insertions, 0 deletions