Searched refs:sl_to_sc (Results 1 – 9 of 9) sorted by relevance
1475 return ibp->sl_to_sc[rdma_ah_get_sl(ah)]; in ah_to_sc()1496 if (sl >= ARRAY_SIZE(ibp->sl_to_sc)) in hfi1_check_ah()1498 sl = array_index_nospec(sl, ARRAY_SIZE(ibp->sl_to_sc)); in hfi1_check_ah()1500 sc5 = ibp->sl_to_sc[sl]; in hfi1_check_ah()1523 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)]; in hfi1_notify_new_ah()1544 size_t sz = ARRAY_SIZE(ibp->sl_to_sc); in init_ibport()1548 ibp->sl_to_sc[i] = i; in init_ibport()
72 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in ud_loopback()299 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_9B()396 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_16B()
231 u8 sl_to_sc[32]; member
298 if (ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)] == 0xf) in hfi1_setup_wqe()812 sc = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in mtu_from_qp()
1791 size_t size = ARRAY_SIZE(ibp->sl_to_sc); /* == 32 */ in __subn_get_opa_sl_to_sc()1799 for (i = 0; i < ARRAY_SIZE(ibp->sl_to_sc); i++) in __subn_get_opa_sl_to_sc()1800 *p++ = ibp->sl_to_sc[i]; in __subn_get_opa_sl_to_sc()1814 size_t size = ARRAY_SIZE(ibp->sl_to_sc); in __subn_set_opa_sl_to_sc()1823 for (i = 0; i < ARRAY_SIZE(ibp->sl_to_sc); i++) { in __subn_set_opa_sl_to_sc()1825 if (ibp->sl_to_sc[i] != sc) { in __subn_set_opa_sl_to_sc()1826 ibp->sl_to_sc[i] = sc; in __subn_set_opa_sl_to_sc()
32 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr()
251 return sysfs_emit(buf, "%u\n", ibp->sl_to_sc[sattr->sl]); in sl2sc_attr_show()
595 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send()
1351 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()1859 sc5 = ibp->sl_to_sc[sl]; in do_rc_completion()