/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | mad.c | 56 int ignore_bkey, u8 port, const struct ib_wc *in_wc, in mlx5_MAD_IFC() argument 68 if (ignore_mkey || !in_wc) in mlx5_MAD_IFC() 70 if (ignore_bkey || !in_wc) in mlx5_MAD_IFC() 78 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in process_mad() argument 84 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in process_mad() 114 port_num, in_wc, in_grh, in_mad, out_mad); in process_mad() 273 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad() argument 294 ret = process_mad(ibdev, mad_flags, port_num, in_wc, in_grh, in mlx5_ib_process_mad()
|
D | mlx5_ib.h | 1181 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | mad.c | 109 int port, const struct ib_wc *in_wc, in mlx4_MAD_IFC() argument 136 if ((mad_ifc_flags & MLX4_MAD_IFC_IGNORE_MKEY) || !in_wc) in mlx4_MAD_IFC() 138 if ((mad_ifc_flags & MLX4_MAD_IFC_IGNORE_BKEY) || !in_wc) in mlx4_MAD_IFC() 141 (mad_ifc_flags & MLX4_MAD_IFC_NET_VIEW || in_wc)) in mlx4_MAD_IFC() 144 if (in_wc) { in mlx4_MAD_IFC() 160 ext_info->my_qpn = cpu_to_be32(in_wc->qp->qp_num); in mlx4_MAD_IFC() 161 ext_info->rqpn = cpu_to_be32(in_wc->src_qp); in mlx4_MAD_IFC() 162 ext_info->sl = in_wc->sl << 4; in mlx4_MAD_IFC() 163 ext_info->g_path = in_wc->dlid_path_bits | in mlx4_MAD_IFC() 164 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0); in mlx4_MAD_IFC() [all …]
|
D | mlx4_ib.h | 787 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, 790 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_mad.c | 202 const struct ib_wc *in_wc, in mthca_process_mad() argument 209 u16 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad() 265 port_num, in_wc, in_grh, in_mad, out_mad); in mthca_process_mad()
|
D | mthca_cmd.c | 1863 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_MAD_IFC() argument 1898 if (ignore_mkey || !in_wc) in mthca_MAD_IFC() 1900 if (ignore_bkey || !in_wc) in mthca_MAD_IFC() 1903 if (in_wc) { in mthca_MAD_IFC() 1908 MTHCA_PUT(inbox, in_wc->qp->qp_num, MAD_IFC_MY_QPN_OFFSET); in mthca_MAD_IFC() 1909 MTHCA_PUT(inbox, in_wc->src_qp, MAD_IFC_RQPN_OFFSET); in mthca_MAD_IFC() 1911 val = in_wc->sl << 4; in mthca_MAD_IFC() 1914 val = in_wc->dlid_path_bits | in mthca_MAD_IFC() 1915 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0); in mthca_MAD_IFC() 1918 MTHCA_PUT(inbox, ib_lid_cpu16(in_wc->slid), MAD_IFC_RLID_OFFSET); in mthca_MAD_IFC() [all …]
|
D | mthca_cmd.h | 315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
D | mthca_dev.h | 582 const struct ib_wc *in_wc,
|
/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | mad.h | 54 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
D | mad.c | 71 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad() argument
|
/Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.h | 62 const struct ib_wc *in_wc,
|
D | ocrdma_ah.c | 253 const struct ib_wc *in_wc, in ocrdma_process_mad() argument
|
/Linux-v5.4/drivers/infiniband/hw/qedr/ |
D | verbs.h | 95 u8 port_num, const struct ib_wc *in_wc,
|
D | verbs.c | 4110 const struct ib_wc *in_wc, in qedr_process_mad() argument
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | mad.c | 4397 const struct ib_wc *in_wc) in is_local_mad() argument 4408 return (in_wc->slid == ppd->lid); in is_local_mad() 4422 const struct ib_wc *in_wc) in opa_local_smp_check() argument 4427 if (in_wc->pkey_index >= ARRAY_SIZE(ppd->pkeys)) in opa_local_smp_check() 4430 pkey = ppd->pkeys[in_wc->pkey_index]; in opa_local_smp_check() 4451 ingress_pkey_table_fail(ppd, pkey, in_wc->slid); in opa_local_smp_check() 4494 const struct ib_wc *in_wc) in hfi1_pkey_validation_pma() argument 4496 u16 pkey_value = hfi1_lookup_pkey_value(ibp, in_wc->pkey_index); in hfi1_pkey_validation_pma() 4499 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma() 4820 u8 port, const struct ib_wc *in_wc, in hfi1_process_opa_mad() argument [all …]
|
D | verbs.h | 332 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
D | qib_verbs.h | 247 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
|
D | qib_mad.c | 2407 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in qib_process_mad() argument
|
/Linux-v5.4/include/rdma/ |
D | ib_verbs.h | 2279 u8 port_num, const struct ib_wc *in_wc,
|