Lines Matching defs:in_wc
109 int port, const struct ib_wc *in_wc,
133 * Key check traps can't be generated unless we have in_wc to
136 if ((mad_ifc_flags & MLX4_MAD_IFC_IGNORE_MKEY) || !in_wc)
138 if ((mad_ifc_flags & MLX4_MAD_IFC_IGNORE_BKEY) || !in_wc)
141 (mad_ifc_flags & MLX4_MAD_IFC_NET_VIEW || in_wc))
144 if (in_wc) {
160 ext_info->my_qpn = cpu_to_be32(in_wc->qp->qp_num);
161 ext_info->rqpn = cpu_to_be32(in_wc->src_qp);
162 ext_info->sl = in_wc->sl << 4;
163 ext_info->g_path = in_wc->dlid_path_bits |
164 (in_wc->wc_flags & IB_WC_GRH ? 0x80 : 0);
165 ext_info->pkey = cpu_to_be16(in_wc->pkey_index);
172 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16;
823 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
830 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE);
870 port_num, in_wc, in_grh, in_mad, out_mad);
937 u32 port_num, const struct ib_wc *in_wc,
985 const struct ib_wc *in_wc, const struct ib_grh *in_grh,
1002 in_wc, in_grh, in, out);
1004 return ib_process_mad(ibdev, mad_flags, port_num, in_wc, in_grh,
1009 return iboe_process_mad(ibdev, mad_flags, port_num, in_wc,