Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmad.c55 int ignore_bkey, u8 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()
220 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad() argument
230 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
266 mad_flags & IB_MAD_IGNORE_BKEY, port_num, in_wc, in mlx5_ib_process_mad()
Dmlx5_ib.h1208 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/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.h811 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
814 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmad.h54 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dmad.c71 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_ah.h60 u8 port_num, const struct ib_wc *in_wc,
Docrdma_ah.c253 u8 port_num, const struct ib_wc *in_wc, in ocrdma_process_mad() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c4396 const struct ib_wc *in_wc) in is_local_mad() argument
4407 return (in_wc->slid == ppd->lid); in is_local_mad()
4421 const struct ib_wc *in_wc) in opa_local_smp_check() argument
4426 if (in_wc->pkey_index >= ARRAY_SIZE(ppd->pkeys)) in opa_local_smp_check()
4429 pkey = ppd->pkeys[in_wc->pkey_index]; in opa_local_smp_check()
4450 ingress_pkey_table_fail(ppd, pkey, in_wc->slid); in opa_local_smp_check()
4493 const struct ib_wc *in_wc) in hfi1_pkey_validation_pma() argument
4495 u16 pkey_value = hfi1_lookup_pkey_value(ibp, in_wc->pkey_index); in hfi1_pkey_validation_pma()
4498 if (!is_local_mad(ibp, in_mad, in_wc) && in hfi1_pkey_validation_pma()
4819 u8 port, const struct ib_wc *in_wc, in hfi1_process_opa_mad() argument
[all …]
Dverbs.h332 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.h95 u8 port_num, const struct ib_wc *in_wc,
Dverbs.c4478 u8 port_num, const struct ib_wc *in_wc, in qedr_process_mad() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_verbs.h246 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
Dqib_mad.c2362 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in qib_process_mad() argument
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h2306 u8 port_num, const struct ib_wc *in_wc,