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>
This commit is contained in:

committed by
Doug Ledford

parent
3ca4fbc84a
commit
aad559c21d
@@ -1932,7 +1932,7 @@ void hfi1_cnp_rcv(struct hfi1_packet *packet)
|
||||
return;
|
||||
}
|
||||
|
||||
sc5 = hdr2sc(hdr, packet->rhf);
|
||||
sc5 = hfi1_9B_get_sc5(hdr, packet->rhf);
|
||||
sl = ibp->sc_to_sl[sc5];
|
||||
lqpn = qp->ibqp.qp_num;
|
||||
|
||||
|
Reference in New Issue
Block a user