/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | ud.c | 114 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in ud_loopback() local 119 if (unlikely(ingress_pkey_check(ppd, pkey, sc5, in ud_loopback() 309 u8 sc5; in hfi1_make_ud_req_9B() local 341 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_9B() 347 lrh0 |= (sc5 & 0xf) << 12; in hfi1_make_ud_req_9B() 348 priv->s_sc = sc5; in hfi1_make_ud_req_9B() 386 u8 l4, sc5; in hfi1_make_ud_req_16B() local 438 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_16B() 442 priv->s_sc = sc5; in hfi1_make_ud_req_16B() 634 u8 sc5, const struct ib_grh *old_grh) in return_cnp_16B() argument [all …]
|
D | trace_ibhdrs.h | 119 void hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, 158 bool sc5), 159 TP_ARGS(dd, packet, sc5), 230 hfi1_trace_parse_9b_hdr(packet->hdr, sc5, 313 struct hfi1_packet *packet, bool sc5), 314 TP_ARGS(dd, packet, sc5)); 318 struct hfi1_opa_header *opah, bool sc5), 319 TP_ARGS(dd, opah, sc5), 395 hfi1_trace_parse_9b_hdr(&opah->ibh, sc5, 476 struct hfi1_opa_header *opah, bool sc5), [all …]
|
D | ipoib_tx.c | 329 lrh0 |= (txp->flow.sc5 & 0xf) << 12; in hfi1_ipoib_build_ib_tx_headers() 368 ib_is_sc5(txp->flow.sc5) << in hfi1_ipoib_build_ib_tx_headers() 371 sc_to_vlt(priv->dd, txp->flow.sc5), in hfi1_ipoib_build_ib_tx_headers() 403 txp->txq->flow.sc5 = txp->flow.sc5; in hfi1_ipoib_send_dma_common() 407 txp->flow.sc5); in hfi1_ipoib_send_dma_common() 499 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_single() 556 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list() 599 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send_dma() 737 txq->flow.sc5 = 0xff; in hfi1_ipoib_txreq_init()
|
D | verbs.c | 850 u8 sc5 = priv->s_sc; in hfi1_verbs_send_dma() local 867 u32 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); in hfi1_verbs_send_dma() 875 pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); in hfi1_verbs_send_dma() 903 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_dma() 990 u8 sc5; in hfi1_verbs_send_pio() local 1022 sc5 = priv->s_sc; in hfi1_verbs_send_pio() 1026 u8 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); in hfi1_verbs_send_pio() 1032 pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); in hfi1_verbs_send_pio() 1100 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_pio() 1159 u8 sc5, int8_t s_pkey_index) in egress_pkey_check() argument [all …]
|
D | qp.h | 122 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5); 123 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5);
|
D | hfi.h | 1749 u16 pkey, u32 slid, u32 dlid, u8 sc5, 1753 u8 sc5, const struct ib_grh *old_grh); 1756 u8 sc5, const struct ib_grh *old_grh); 1760 u8 sc5, int8_t s_pkey_index); 1776 static inline u8 sc_to_vlt(struct hfi1_devdata *dd, u8 sc5) in sc_to_vlt() argument 1781 if (sc5 >= OPA_MAX_SCS) in sc_to_vlt() 1786 rval = *(((u8 *)dd->sc2vl) + sc5); in sc_to_vlt() 1862 u8 sc5, u8 idx, u32 slid, bool force) in ingress_pkey_check() argument 1868 if ((sc5 == 0xf) && ((pkey & PKEY_LOW_15_MASK) != PKEY_LOW_15_MASK)) in ingress_pkey_check() 1895 u8 sc5, u16 slid) in rcv_pkey_check() argument [all …]
|
D | ipoib.h | 42 u8 sc5; member
|
D | ruc.c | 74 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() local 105 sc5, slid))) { in hfi1_ruc_check_hdr() 142 sc5, slid))) { in hfi1_ruc_check_hdr()
|
D | qp.c | 580 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5) in qp_to_sdma_engine() argument 593 sde = sdma_select_engine_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, sc5); in qp_to_sdma_engine() 605 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5) in qp_to_send_context() argument 618 sc5); in qp_to_send_context()
|
D | rc.c | 1262 u8 sc5, bool is_fecn, in hfi1_make_rc_ack_9B() argument 1288 *pbc_flags |= ((!!(sc5 & 0x10)) << PBC_DC_INFO_SHIFT); in hfi1_make_rc_ack_9B() 1293 lrh0 |= (sc5 & IB_SC_MASK) << IB_SC_SHIFT | in hfi1_make_rc_ack_9B() 1315 u8 sc5, bool is_fecn, in hfi1_make_rc_ack_16B() argument 1357 16B), len, pkey, becn, 0, l4, sc5); in hfi1_make_rc_ack_16B() 1368 u8 sc5, bool is_fecn, 1393 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack() local 1421 hfi1_make_rc_ack_tbl[priv->hdr_type](packet, &opa_hdr, sc5, is_fecn, in hfi1_send_rc_ack() 1426 sc_to_vlt(ppd->dd, sc5), plen); in hfi1_send_rc_ack() 1439 &opa_hdr, ib_is_sc5(sc5)); in hfi1_send_rc_ack() [all …]
|
D | pio.h | 275 u32 selector, u8 sc5);
|
D | trace.c | 192 void hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5, in hfi1_trace_parse_9b_hdr() argument 199 *sc = ib_get_sc(hdr) | (sc5 << 4); in hfi1_trace_parse_9b_hdr()
|
D | driver.c | 371 u8 svc_type, sl, sc5; in rcv_hdrerr() local 373 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr() 374 sl = ibp->sc_to_sl[sc5]; in rcv_hdrerr()
|
D | sdma.h | 1057 u8 sc5);
|
D | pio.c | 1841 u32 selector, u8 sc5) in pio_select_send_context_sc() argument 1843 u8 vl = sc_to_vlt(dd, sc5); in pio_select_send_context_sc()
|
D | sdma.c | 827 u8 sc5) in sdma_select_engine_sc() argument 829 u8 vl = sc_to_vlt(dd, sc5); in sdma_select_engine_sc()
|
D | chip.c | 226 sc5, sc5val, \ argument 235 ((u64)(sc5val) << SEND_SC2VLT##num##_SC##sc5##_SHIFT) | \
|
/Linux-v5.10/include/rdma/ |
D | ib_hdrs.h | 183 static inline bool ib_is_sc5(u16 sc5) in ib_is_sc5() argument 185 return !!(sc5 & IB_SC5_MASK); in ib_is_sc5()
|