IB/hfi1: Rename hdr2sc to hfi1_9B_get_sc5
authorDasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Sun, 9 Apr 2017 17:16:15 +0000 (10:16 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 17:48:01 +0000 (13:48 -0400)
commitaad559c21d7b536444701cb798100d33ff027f70
tree44dd04c4ae6de09e5a46758ce9c45f3b32b1ae01
parent3ca4fbc84a17b5c4f6c675e60ec5d3470019a83a
IB/hfi1: Rename hdr2sc to hfi1_9B_get_sc5

The function really returned the 5-bit sc value from
the header and rhf. hdr2sc didn't quite describe what it did.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/driver.c
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/ud.c
drivers/infiniband/hw/hfi1/verbs.c