Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dverbs.c1520 return ibp->sl_to_sc[rdma_ah_get_sl(ah)]; in ah_to_sc()
1541 if (sl >= ARRAY_SIZE(ibp->sl_to_sc)) in hfi1_check_ah()
1543 sl = array_index_nospec(sl, ARRAY_SIZE(ibp->sl_to_sc)); in hfi1_check_ah()
1545 sc5 = ibp->sl_to_sc[sl]; in hfi1_check_ah()
1568 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)]; in hfi1_notify_new_ah()
1589 size_t sz = ARRAY_SIZE(ibp->sl_to_sc); in init_ibport()
1593 ibp->sl_to_sc[i] = i; in init_ibport()
Dud.c114 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in ud_loopback()
341 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_9B()
438 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_16B()
Dverbs.h273 u8 sl_to_sc[32]; member
Dqp.c340 if (ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)] == 0xf) in hfi1_setup_wqe()
853 sc = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in mtu_from_qp()
Druc.c74 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr()
Dmad.c1833 size_t size = ARRAY_SIZE(ibp->sl_to_sc); /* == 32 */ in __subn_get_opa_sl_to_sc()
1841 for (i = 0; i < ARRAY_SIZE(ibp->sl_to_sc); i++) in __subn_get_opa_sl_to_sc()
1842 *p++ = ibp->sl_to_sc[i]; in __subn_get_opa_sl_to_sc()
1856 size_t size = ARRAY_SIZE(ibp->sl_to_sc); in __subn_set_opa_sl_to_sc()
1865 for (i = 0; i < ARRAY_SIZE(ibp->sl_to_sc); i++) { in __subn_set_opa_sl_to_sc()
1867 if (ibp->sl_to_sc[i] != sc) { in __subn_set_opa_sl_to_sc()
1868 ibp->sl_to_sc[i] = sc; in __subn_set_opa_sl_to_sc()
Dsysfs.c404 return sprintf(buf, "%u\n", ibp->sl_to_sc[sattr->sl]); in sl2sc_attr_show()
Dipoib_tx.c599 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send_dma()
Drc.c1393 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()
1901 sc5 = ibp->sl_to_sc[sl]; in do_rc_completion()