Home
last modified time | relevance | path

Searched refs:in_wc (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/mthca/
Dmthca_mad.c200 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mthca_process_mad() argument
205 u16 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad()
252 mad_flags & IB_MAD_IGNORE_BKEY, port_num, in_wc, in mthca_process_mad()
Dmthca_cmd.c1863 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 …]
Dmthca_cmd.h315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmthca_dev.h569 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmad.c55 int ignore_bkey, u32 port, const struct ib_wc *in_wc, in mlx5_MAD_IFC() argument
67 if (ignore_mkey || !in_wc) in mlx5_MAD_IFC()
69 if (ignore_bkey || !in_wc) in mlx5_MAD_IFC()
295 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad() argument
305 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
341 mad_flags & IB_MAD_IGNORE_BKEY, port_num, in_wc, in mlx5_ib_process_mad()
Dmlx5_ib.h1383 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dmad.c109 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 …]
Dmlx4_ib.h812 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
815 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/linux-6.12.1/drivers/infiniband/sw/rdmavt/
Dmad.h12 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmad.c32 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad() argument
/linux-6.12.1/drivers/infiniband/hw/ocrdma/
Docrdma_ah.h60 u32 port_num, const struct ib_wc *in_wc,
Docrdma_ah.c253 u32 port_num, const struct ib_wc *in_wc, in ocrdma_process_mad() argument
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dmad.c4354 const struct ib_wc *in_wc) in is_local_mad() argument
4365 return (in_wc->slid == ppd->lid); in is_local_mad()
4379 const struct ib_wc *in_wc) in opa_local_smp_check() argument
4384 if (in_wc->pkey_index >= ARRAY_SIZE(ppd->pkeys)) in opa_local_smp_check()
4387 pkey = ppd->pkeys[in_wc->pkey_index]; in opa_local_smp_check()
4408 ingress_pkey_table_fail(ppd, pkey, in_wc->slid); in opa_local_smp_check()
4451 const struct ib_wc *in_wc) in hfi1_pkey_validation_pma() argument
4453 u16 pkey_value = hfi1_lookup_pkey_value(ibp, in_wc->pkey_index); in hfi1_pkey_validation_pma()
4456 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma()
4777 u32 port, const struct ib_wc *in_wc, in hfi1_process_opa_mad() argument
[all …]
Dverbs.h290 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/linux-6.12.1/drivers/infiniband/hw/qedr/
Dverbs.h95 u32 port_num, const struct ib_wc *in_wc,
Dverbs.c4489 u32 port_num, const struct ib_wc *in_wc, in qedr_process_mad() argument
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_verbs.h246 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dqib_mad.c2364 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in qib_process_mad() argument
/linux-6.12.1/include/rdma/
Dib_verbs.h2348 u32 port_num, const struct ib_wc *in_wc,