Home
last modified time | relevance | path

Searched refs:sc5 (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dud.c114 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, cons in return_cnp_16B()
632 return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp_16B() argument
694 return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp() argument
767 opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, struct rvt_qp *qp, u16 slid, struct opa_smp *smp) opa_smp_check() argument
866 u8 sc5 = packet->sc; hfi1_ud_rcv() local
[all...]
H A Dtrace_ibhdrs.h119 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...]
H A Dverbs.c850 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()
1149 * @sc5
1158 egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, u8 sc5, int8_t s_pkey_index) egress_pkey_check() argument
1527 u8 sc5; hfi1_check_ah() local
1557 u8 sc5; hfi1_notify_new_ah() local
1983 u8 sl, sc5, svc_type; hfi1_cnp_rcv() local
[all...]
H A Dipoib_tx.c337 lrh0 |= (txp->flow.sc5 & 0xf) << 12; in hfi1_ipoib_build_ib_tx_headers()
376 ib_is_sc5(txp->flow.sc5) << in hfi1_ipoib_build_ib_tx_headers()
379 sc_to_vlt(priv->dd, txp->flow.sc5), in hfi1_ipoib_build_ib_tx_headers()
411 txp->txq->flow.sc5 = txp->flow.sc5; in hfi1_ipoib_send_dma_common()
415 txp->flow.sc5); in hfi1_ipoib_send_dma_common()
508 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_single()
566 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list()
609 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send_dma()
750 txq->flow.sc5 in hfi1_ipoib_txreq_init()
[all...]
H A Dqp.h122 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);
H A Dhfi.h1750 u16 pkey, u32 slid, u32 dlid, u8 sc5,
1754 u8 sc5, const struct ib_grh *old_grh);
1757 u8 sc5, const struct ib_grh *old_grh);
1761 u8 sc5, int8_t s_pkey_index);
1775 * @sc5 - 5 bit sc
1777 static inline u8 sc_to_vlt(struct hfi1_devdata *dd, u8 sc5) in sc_to_vlt() argument
1782 if (sc5 >= OPA_MAX_SCS) in sc_to_vlt()
1787 rval = *(((u8 *)dd->sc2vl) + sc5); in sc_to_vlt()
1863 u8 sc5, u8 idx, u32 slid, bool force) in ingress_pkey_check()
1869 if ((sc5 in ingress_pkey_check()
1862 ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u8 idx, u32 slid, bool force) ingress_pkey_check() argument
1895 rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u16 slid) rcv_pkey_check() argument
[all...]
H A Dipoib.h42 u8 sc5; member
H A Dqp.c575 * @sc5: the 5 bit sc
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()
600 * @sc5: the 5 bit sc
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()
H A Druc.c74 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()
H A Drc.c1262 u8 sc5, bool is_fecn, in hfi1_make_rc_ack_9B()
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()
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()
1260 hfi1_make_rc_ack_9B(struct hfi1_packet *packet, struct hfi1_opa_header *opa_hdr, u8 sc5, bool is_fecn, u64 *pbc_flags, u32 *hwords, u32 *nwords) hfi1_make_rc_ack_9B() argument
1313 hfi1_make_rc_ack_16B(struct hfi1_packet *packet, struct hfi1_opa_header *opa_hdr, u8 sc5, bool is_fecn, u64 *pbc_flags, u32 *hwords, u32 *nwords) hfi1_make_rc_ack_16B() argument
1898 u8 sc5; do_rc_completion() local
[all...]
H A Dpio.h275 u32 selector, u8 sc5);
H A Dtrace.c192 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dud.c72 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in ud_loopback() local
77 if (unlikely(ingress_pkey_check(ppd, pkey, sc5, in ud_loopback()
267 u8 sc5; in hfi1_make_ud_req_9B() local
299 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_9B()
305 lrh0 |= (sc5 & 0xf) << 12; in hfi1_make_ud_req_9B()
306 priv->s_sc = sc5; in hfi1_make_ud_req_9B()
344 u8 l4, sc5; in hfi1_make_ud_req_16B() local
396 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(ah_attr)]; in hfi1_make_ud_req_16B()
400 priv->s_sc = sc5; in hfi1_make_ud_req_16B()
593 u8 sc5, cons in return_cnp_16B()
591 return_cnp_16B(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp_16B() argument
653 return_cnp(struct hfi1_ibport *ibp, struct rvt_qp *qp, u32 remote_qpn, u16 pkey, u32 slid, u32 dlid, u8 sc5, const struct ib_grh *old_grh) return_cnp() argument
726 opa_smp_check(struct hfi1_ibport *ibp, u16 pkey, u8 sc5, struct rvt_qp *qp, u16 slid, struct opa_smp *smp) opa_smp_check() argument
820 u8 sc5 = packet->sc; hfi1_ud_rcv() local
[all...]
H A Dtrace_ibhdrs.h78 void hfi1_trace_parse_9b_hdr(struct ib_header *hdr, bool sc5,
117 bool sc5),
118 TP_ARGS(dd, packet, sc5),
189 hfi1_trace_parse_9b_hdr(packet->hdr, sc5,
272 struct hfi1_packet *packet, bool sc5),
273 TP_ARGS(dd, packet, sc5));
277 struct hfi1_opa_header *opah, bool sc5),
278 TP_ARGS(dd, opah, sc5),
354 hfi1_trace_parse_9b_hdr(&opah->ibh, sc5,
435 struct hfi1_opa_header *opah, bool sc5),
[all...]
H A Dverbs.c808 u8 sc5 = priv->s_sc; in hfi1_verbs_send_dma() local
825 u32 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); in hfi1_verbs_send_dma()
833 pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); in hfi1_verbs_send_dma()
861 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_dma()
948 u8 sc5; in hfi1_verbs_send_pio() local
980 sc5 = priv->s_sc; in hfi1_verbs_send_pio()
984 u8 vl = sc_to_vlt(dd_from_ibdev(qp->ibqp.device), sc5); in hfi1_verbs_send_pio()
990 pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); in hfi1_verbs_send_pio()
1058 &ps->s_txreq->phdr.hdr, ib_is_sc5(sc5)); in hfi1_verbs_send_pio()
1107 * @sc5
1116 egress_pkey_check(struct hfi1_pportdata *ppd, u32 slid, u16 pkey, u8 sc5, int8_t s_pkey_index) egress_pkey_check() argument
1483 u8 sc5; hfi1_check_ah() local
1513 u8 sc5; hfi1_notify_new_ah() local
1920 u8 sl, sc5, svc_type; hfi1_cnp_rcv() local
[all...]
H A Dipoib_tx.c301 lrh0 |= (txp->flow.sc5 & 0xf) << 12; in hfi1_ipoib_build_ib_tx_headers()
340 ib_is_sc5(txp->flow.sc5) << in hfi1_ipoib_build_ib_tx_headers()
343 sc_to_vlt(priv->dd, txp->flow.sc5), in hfi1_ipoib_build_ib_tx_headers()
388 txq->flow.sc5 = txp->flow.sc5; in hfi1_ipoib_send_dma_common()
392 txp->flow.sc5); in hfi1_ipoib_send_dma_common()
488 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_single()
552 ib_is_sc5(txp->flow.sc5)); in hfi1_ipoib_send_dma_list()
595 txp.flow.sc5 = txp.ibp->sl_to_sc[rdma_ah_get_sl(txp.ah_attr)]; in hfi1_ipoib_send()
725 txq->flow.sc5 in hfi1_ipoib_txreq_init()
[all...]
H A Dqp.h80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
81 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5);
H A Dhfi.h1698 u16 pkey, u32 slid, u32 dlid, u8 sc5,
1702 u8 sc5, const struct ib_grh *old_grh);
1705 u8 sc5, const struct ib_grh *old_grh);
1709 u8 sc5, int8_t s_pkey_index);
1723 * @sc5 - 5 bit sc
1725 static inline u8 sc_to_vlt(struct hfi1_devdata *dd, u8 sc5) in sc_to_vlt() argument
1730 if (sc5 >= OPA_MAX_SCS) in sc_to_vlt()
1735 rval = *(((u8 *)dd->sc2vl) + sc5); in sc_to_vlt()
1811 u8 sc5, u8 idx, u32 slid, bool force) in ingress_pkey_check()
1817 if ((sc5 in ingress_pkey_check()
1810 ingress_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u8 idx, u32 slid, bool force) ingress_pkey_check() argument
1843 rcv_pkey_check(struct hfi1_pportdata *ppd, u16 pkey, u8 sc5, u16 slid) rcv_pkey_check() argument
[all...]
H A Dipoib.h42 u8 sc5; member
H A Dqp.c534 * @sc5: the 5 bit sc
539 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5) in qp_to_sdma_engine() argument
552 sde = sdma_select_engine_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, sc5); in qp_to_sdma_engine()
559 * @sc5: the 5 bit sc
564 struct send_context *qp_to_send_context(struct rvt_qp *qp, u8 sc5) in qp_to_send_context() argument
577 sc5); in qp_to_send_context()
H A Druc.c32 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_ruc_check_hdr() local
63 sc5, slid))) { in hfi1_ruc_check_hdr()
100 sc5, slid))) { in hfi1_ruc_check_hdr()
H A Drc.c1221 u8 sc5, bool is_fecn, in hfi1_make_rc_ack_9B()
1247 *pbc_flags |= ((!!(sc5 & 0x10)) << PBC_DC_INFO_SHIFT); in hfi1_make_rc_ack_9B()
1252 lrh0 |= (sc5 & IB_SC_MASK) << IB_SC_SHIFT | in hfi1_make_rc_ack_9B()
1274 u8 sc5, bool is_fecn, in hfi1_make_rc_ack_16B()
1316 16B), len, pkey, becn, 0, l4, sc5); in hfi1_make_rc_ack_16B()
1327 u8 sc5, bool is_fecn,
1351 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack() local
1379 hfi1_make_rc_ack_tbl[priv->hdr_type](packet, &opa_hdr, sc5, is_fecn, in hfi1_send_rc_ack()
1384 sc_to_vlt(ppd->dd, sc5), plen); in hfi1_send_rc_ack()
1397 &opa_hdr, ib_is_sc5(sc5)); in hfi1_send_rc_ack()
1219 hfi1_make_rc_ack_9B(struct hfi1_packet *packet, struct hfi1_opa_header *opa_hdr, u8 sc5, bool is_fecn, u64 *pbc_flags, u32 *hwords, u32 *nwords) hfi1_make_rc_ack_9B() argument
1272 hfi1_make_rc_ack_16B(struct hfi1_packet *packet, struct hfi1_opa_header *opa_hdr, u8 sc5, bool is_fecn, u64 *pbc_flags, u32 *hwords, u32 *nwords) hfi1_make_rc_ack_16B() argument
1856 u8 sc5; do_rc_completion() local
[all...]
H A Dpio.h233 u32 selector, u8 sc5);
/kernel/linux/linux-5.10/include/rdma/
H A Dib_hdrs.h183 static inline bool ib_is_sc5(u16 sc5) in ib_is_sc5() argument
185 return !!(sc5 & IB_SC5_MASK); in ib_is_sc5()
/kernel/linux/linux-6.6/include/rdma/
H A Dib_hdrs.h183 static inline bool ib_is_sc5(u16 sc5) in ib_is_sc5() argument
185 return !!(sc5 & IB_SC5_MASK); in ib_is_sc5()

Completed in 32 milliseconds

12