Lines Matching defs:sa_mad_data
474 osmv_sa_mad_data_t sa_mad_data;
492 sa_mad_data.method = IB_MAD_METHOD_GETTABLE;
493 sa_mad_data.attr_mod = 0;
502 sa_mad_data.method = p_user_query->method;
503 sa_mad_data.attr_offset = p_user_query->attr_offset;
504 sa_mad_data.attr_id = p_user_query->attr_id;
505 sa_mad_data.attr_mod = p_user_query->attr_mod;
506 sa_mad_data.comp_mask = p_user_query->comp_mask;
507 sa_mad_data.p_attr = p_user_query->p_attr;
512 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
513 sa_mad_data.attr_offset =
515 sa_mad_data.comp_mask = 0;
516 sa_mad_data.p_attr = &svc_rec;
521 sa_mad_data.method = IB_MAD_METHOD_GET;
522 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
523 sa_mad_data.comp_mask = IB_SR_COMPMASK_SNAME;
524 sa_mad_data.attr_offset =
526 sa_mad_data.p_attr = &svc_rec;
533 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
534 sa_mad_data.comp_mask = IB_SR_COMPMASK_SID;
535 sa_mad_data.attr_offset =
537 sa_mad_data.p_attr = &svc_rec;
544 sa_mad_data.method = IB_MAD_METHOD_GET;
545 sa_mad_data.attr_id = IB_MAD_ATTR_CLASS_PORT_INFO;
546 sa_mad_data.attr_offset =
548 sa_mad_data.comp_mask = 0;
549 sa_mad_data.p_attr = &class_port_info;
554 sa_mad_data.attr_id = IB_MAD_ATTR_NODE_RECORD;
555 sa_mad_data.attr_offset =
557 sa_mad_data.comp_mask = IB_NR_COMPMASK_NODEGUID;
558 sa_mad_data.p_attr = &node_rec;
565 sa_mad_data.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;
566 sa_mad_data.attr_offset =
568 sa_mad_data.comp_mask = IB_PIR_COMPMASK_LID;
569 sa_mad_data.p_attr = &port_info;
574 sa_mad_data.method = IB_MAD_METHOD_GET;
577 sa_mad_data.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;
578 sa_mad_data.attr_offset =
580 sa_mad_data.comp_mask =
582 sa_mad_data.p_attr = p_user_query->p_attr;
586 sa_mad_data.method = IB_MAD_METHOD_GET;
589 sa_mad_data.attr_id = IB_MAD_ATTR_VLARB_RECORD;
590 sa_mad_data.attr_offset =
592 sa_mad_data.comp_mask =
595 sa_mad_data.p_attr = p_user_query->p_attr;
599 sa_mad_data.method = IB_MAD_METHOD_GET;
602 sa_mad_data.attr_id = IB_MAD_ATTR_SLVL_RECORD;
603 sa_mad_data.attr_offset =
605 sa_mad_data.comp_mask =
608 sa_mad_data.p_attr = p_user_query->p_attr;
614 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
615 sa_mad_data.attr_offset =
617 sa_mad_data.comp_mask =
619 sa_mad_data.p_attr = &path_rec;
633 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
634 sa_mad_data.attr_offset =
636 sa_mad_data.comp_mask =
638 sa_mad_data.p_attr = &path_rec;
650 sa_mad_data.method = IB_MAD_METHOD_GET;
651 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
652 sa_mad_data.attr_offset =
654 sa_mad_data.comp_mask =
656 sa_mad_data.p_attr = &path_rec;
665 sa_mad_data.method = IB_MAD_METHOD_SET;
668 sa_mad_data.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD;
669 sa_mad_data.attr_offset =
671 sa_mad_data.comp_mask = p_user_query->comp_mask;
672 sa_mad_data.p_attr = p_user_query->p_attr;
676 sa_mad_data.method = IB_MAD_METHOD_DELETE;
679 sa_mad_data.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD;
680 sa_mad_data.attr_offset =
682 sa_mad_data.comp_mask = p_user_query->comp_mask;
683 sa_mad_data.p_attr = p_user_query->p_attr;
701 sa_mad_data.method = IB_MAD_METHOD_GETMULTI;
702 sa_mad_data.attr_id = IB_MAD_ATTR_MULTIPATH_RECORD;
703 sa_mad_data.attr_offset =
705 sa_mad_data.p_attr = &multipath_rec;
706 sa_mad_data.comp_mask = p_mpr_req->comp_mask;
732 status = __osmv_send_sa_req(h_bind, &sa_mad_data, p_query_req);