Lines Matching refs:in_wc
4396 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
4828 u32 resp_len = in_wc->byte_len - sizeof(*in_grh); in hfi1_process_opa_mad()
4842 local_mad = is_local_mad(ibp, in_mad, in_wc); in hfi1_process_opa_mad()
4844 ret = opa_local_smp_check(ibp, in_wc); in hfi1_process_opa_mad()
4852 ret = hfi1_pkey_validation_pma(ibp, in_mad, in_wc); in hfi1_process_opa_mad()
4867 *out_mad_size = in_wc->byte_len - sizeof(struct ib_grh); in hfi1_process_opa_mad()
4873 const struct ib_wc *in_wc, in hfi1_process_ib_mad() argument
4916 const struct ib_wc *in_wc, const struct ib_grh *in_grh, in hfi1_process_mad() argument
4923 in_wc, in_grh, in hfi1_process_mad()
4929 return hfi1_process_ib_mad(ibdev, mad_flags, port, in_wc, in hfi1_process_mad()