Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dverbs.c1576 return ibp->sl_to_sc[rdma_ah_get_sl(ah)]; in ah_to_sc()
1597 if (sl >= ARRAY_SIZE(ibp->sl_to_sc)) in hfi1_check_ah()
1600 sc5 = ibp->sl_to_sc[sl]; in hfi1_check_ah()
1623 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)]; in hfi1_notify_new_ah()
1644 size_t sz = ARRAY_SIZE(ibp->sl_to_sc); in init_ibport()
1648 ibp->sl_to_sc[i] = i; in init_ibport()
Dverbs.h209 u8 sl_to_sc[32]; member
Dud.c113 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in ud_loopback()
360 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_9B()
457 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_16B()
Dqp.c319 if (ibp->sl_to_sc[rdma_ah_get_sl(&ah->attr)] == 0xf) in hfi1_check_send_wqe()
749 sc = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in mtu_from_qp()
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()
Druc.c74 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr()
Drc.c882 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()
1237 sc5 = ibp->sl_to_sc[sl]; in do_rc_completion()