Lines Matching refs:in_wc
4354 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
4786 u32 resp_len = in_wc->byte_len - sizeof(*in_grh); in hfi1_process_opa_mad()
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()
4810 ret = hfi1_pkey_validation_pma(ibp, in_mad, in_wc); in hfi1_process_opa_mad()
4825 *out_mad_size = in_wc->byte_len - sizeof(struct ib_grh); in hfi1_process_opa_mad()
4831 const struct ib_wc *in_wc, in hfi1_process_ib_mad() argument
4876 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in hfi1_process_mad() argument
4883 in_wc, in_grh, in hfi1_process_mad()
4889 return hfi1_process_ib_mad(ibdev, mad_flags, port, in_wc, in hfi1_process_mad()