Lines Matching refs:comp_mask
298 mad.sa_hdr.comp_mask = IB_SA_MCMEMBER_REC_MGID | in send_leave_to_wire()
339 mad.sa_hdr.comp_mask = 0; /* ignored on responses, see IBTA spec */ in send_reply_to_slave()
352 static int check_selector(ib_sa_comp_mask comp_mask, in check_selector() argument
362 if (!(comp_mask & selector_mask) || !(comp_mask & value_mask)) in check_selector()
384 struct ib_sa_mcmember_data *dst, ib_sa_comp_mask comp_mask) in cmp_rec() argument
391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
393 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid) in cmp_rec()
395 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_MTU_SELECTOR, in cmp_rec()
399 if (comp_mask & IB_SA_MCMEMBER_REC_TRAFFIC_CLASS && in cmp_rec()
402 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec()
404 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_RATE_SELECTOR, in cmp_rec()
408 if (check_selector(comp_mask, in cmp_rec()
413 if (comp_mask & IB_SA_MCMEMBER_REC_SL && in cmp_rec()
417 if (comp_mask & IB_SA_MCMEMBER_REC_FLOW_LABEL && in cmp_rec()
421 if (comp_mask & IB_SA_MCMEMBER_REC_HOP_LIMIT && in cmp_rec()
425 if (comp_mask & IB_SA_MCMEMBER_REC_SCOPE && in cmp_rec()
615 status = cmp_rec(&group->rec, sa_data, req->sa_mad.sa_hdr.comp_mask); in handle_join_req()