Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
248 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx5_ib_process_mad() argument
258 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
294 mad_flags & IB_MAD_IGNORE_BKEY, port_num, in_wc, in mlx5_ib_process_mad()
H A Dmlx5_ib.h1354 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()
H A Dmthca_cmd.c1898 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()
1919 MTHCA_PUT(inbox, in_wc->pkey_index, MAD_IFC_PKEY_OFFSET); in mthca_MAD_IFC()
[all …]
H A Dmthca_cmd.h315 int port, const struct ib_wc *in_wc, const struct ib_grh *in_grh,
H A Dmthca_dev.h569 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dmad.h12 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
H A Dmad.c32 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in rvt_process_mad() argument
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c109 int port, const struct ib_wc *in_wc, in mlx4_MAD_IFC() argument
144 if (in_wc) { 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()
172 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mlx4_MAD_IFC()
830 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in ib_process_mad()
870 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
937 u32 port_num, const struct ib_wc *in_wc, in iboe_process_mad() argument
[all …]
H A 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,
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.h60 u32 port_num, const struct ib_wc *in_wc,
H A Docrdma_ah.c253 u32 port_num, const struct ib_wc *in_wc, in ocrdma_process_mad() argument
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dverbs.h95 u32 port_num, const struct ib_wc *in_wc,
H A Dverbs.c4488 u32 port_num, const struct ib_wc *in_wc, in qedr_process_mad() argument
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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
4387 pkey = ppd->pkeys[in_wc->pkey_index]; in opa_local_smp_check()
4451 const struct ib_wc *in_wc) in hfi1_pkey_validation_pma() argument
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
4800 local_mad = is_local_mad(ibp, in_mad, in_wc); in hfi1_process_opa_mad()
4802 ret = opa_local_smp_check(ibp, in_wc); in hfi1_process_opa_mad()
4831 const struct ib_wc *in_wc, in hfi1_process_ib_mad() argument
[all …]
H A Dverbs.h290 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.h246 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
H A Dqib_mad.c2364 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in qib_process_mad() argument
/openbmc/linux/include/rdma/
H A Dib_verbs.h2361 u32 port_num, const struct ib_wc *in_wc,