Lines Matching defs:sa_mad_data
589 osmv_sa_mad_data_t sa_mad_data;
602 sa_mad_data.method = IB_MAD_METHOD_GETTABLE;
603 sa_mad_data.attr_mod = 0;
613 sa_mad_data.method = p_user_query->method;
614 sa_mad_data.attr_offset = p_user_query->attr_offset;
615 sa_mad_data.attr_id = p_user_query->attr_id;
616 sa_mad_data.attr_mod = p_user_query->attr_mod;
617 sa_mad_data.comp_mask = p_user_query->comp_mask;
618 sa_mad_data.p_attr = p_user_query->p_attr;
624 sa_mad_data.method = IB_MAD_METHOD_GETTABLE;
625 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
626 sa_mad_data.attr_offset =
628 sa_mad_data.comp_mask = 0;
629 sa_mad_data.p_attr = &svc_rec;
635 sa_mad_data.method = IB_MAD_METHOD_GET;
636 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
637 sa_mad_data.comp_mask = IB_SR_COMPMASK_SNAME;
638 sa_mad_data.attr_offset =
640 sa_mad_data.p_attr = &svc_rec;
648 sa_mad_data.attr_id = IB_MAD_ATTR_SERVICE_RECORD;
649 sa_mad_data.comp_mask = IB_SR_COMPMASK_SID;
650 sa_mad_data.attr_offset =
652 sa_mad_data.p_attr = &svc_rec;
660 sa_mad_data.method = IB_MAD_METHOD_GET;
661 sa_mad_data.attr_id = IB_MAD_ATTR_CLASS_PORT_INFO;
662 sa_mad_data.attr_offset =
664 sa_mad_data.comp_mask = 0;
665 sa_mad_data.p_attr = &class_port_info;
672 sa_mad_data.method = IB_MAD_METHOD_GETTABLE;
673 sa_mad_data.attr_id = IB_MAD_ATTR_NODE_RECORD;
674 sa_mad_data.attr_offset =
676 sa_mad_data.comp_mask = IB_NR_COMPMASK_NODEGUID;
677 sa_mad_data.p_attr = &node_rec;
686 sa_mad_data.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;
687 sa_mad_data.attr_offset =
689 sa_mad_data.comp_mask = IB_PIR_COMPMASK_LID;
690 sa_mad_data.p_attr = &port_info;
695 sa_mad_data.method = IB_MAD_METHOD_GET;
700 sa_mad_data.attr_id = IB_MAD_ATTR_PORTINFO_RECORD;
701 sa_mad_data.attr_offset =
703 sa_mad_data.comp_mask =
705 sa_mad_data.p_attr = p_user_query->p_attr;
709 sa_mad_data.method = IB_MAD_METHOD_GET;
714 sa_mad_data.attr_id = IB_MAD_ATTR_VLARB_RECORD;
715 sa_mad_data.attr_offset =
717 sa_mad_data.comp_mask =
720 sa_mad_data.p_attr = p_user_query->p_attr;
724 sa_mad_data.method = IB_MAD_METHOD_GET;
729 sa_mad_data.attr_id = IB_MAD_ATTR_SLVL_RECORD;
730 sa_mad_data.attr_offset =
732 sa_mad_data.comp_mask =
735 sa_mad_data.p_attr = p_user_query->p_attr;
742 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
743 sa_mad_data.attr_offset =
745 sa_mad_data.comp_mask =
747 sa_mad_data.p_attr = &path_rec;
762 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
763 sa_mad_data.attr_offset =
765 sa_mad_data.comp_mask =
767 sa_mad_data.p_attr = &path_rec;
780 sa_mad_data.method = IB_MAD_METHOD_GET;
781 sa_mad_data.attr_id = IB_MAD_ATTR_PATH_RECORD;
782 sa_mad_data.attr_offset =
784 sa_mad_data.comp_mask =
786 sa_mad_data.p_attr = &path_rec;
795 sa_mad_data.method = IB_MAD_METHOD_SET;
800 sa_mad_data.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD;
801 sa_mad_data.attr_offset =
803 sa_mad_data.comp_mask = p_user_query->comp_mask;
804 sa_mad_data.p_attr = p_user_query->p_attr;
808 sa_mad_data.method = IB_MAD_METHOD_DELETE;
813 sa_mad_data.attr_id = IB_MAD_ATTR_MCMEMBER_RECORD;
814 sa_mad_data.attr_offset =
816 sa_mad_data.comp_mask = p_user_query->comp_mask;
817 sa_mad_data.p_attr = p_user_query->p_attr;
827 status = __osmv_send_sa_req(h_bind, &sa_mad_data, p_query_req);