Home
last modified time | relevance | path

Searched refs:sl_to_sc (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dverbs.c1475 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()
Dud.c72 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()
Dverbs.h231 u8 sl_to_sc[32]; member
Dqp.c298 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()
Dmad.c1791 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()
Druc.c32 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr()
Dsysfs.c251 return sysfs_emit(buf, "%u\n", ibp->sl_to_sc[sattr->sl]); in sl2sc_attr_show()
Dipoib_tx.c595 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send()
Drc.c1351 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()