Lines Matching refs:in_wc
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()
165 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC()
172 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mlx4_MAD_IFC()
822 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in ib_process_mad() argument
829 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in ib_process_mad()
869 port_num, in_wc, in_grh, in_mad, out_mad); in ib_process_mad()
936 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in iboe_process_mad() argument
983 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in mlx4_ib_process_mad() argument
1000 in_wc, in_grh, in, out); in mlx4_ib_process_mad()
1002 return ib_process_mad(ibdev, mad_flags, port_num, in_wc, in_grh, in mlx4_ib_process_mad()
1007 return iboe_process_mad(ibdev, mad_flags, port_num, in_wc, in mlx4_ib_process_mad()