Lines Matching refs:opt

401 	if (p_osm->subn.opt.daemon)
518 osm_subn_opt_t opt;
607 osm_subn_set_default_opt(&opt);
609 if (osm_subn_parse_conf_file(OSM_DEFAULT_CONFIG_FILE, &opt) < 0)
624 if (osm_subn_parse_conf_file(optarg, &opt)) {
649 opt.reassign_lids = TRUE;
657 opt.port_prof_ignore_file = optarg;
659 opt.port_prof_ignore_file);
666 opt.guid = cl_hton64(strtoull(optarg, NULL, 16));
667 if (!opt.guid)
670 opt.guid = INVALID_GUID;
673 cl_hton64(opt.guid));
683 opt.sweep_interval = val;
685 opt.sweep_interval);
690 opt.transaction_timeout = strtol(optarg, NULL, 0);
692 opt.transaction_timeout);
696 opt.max_wire_smps = strtol(optarg, NULL, 0);
697 if (opt.max_wire_smps <= 0)
698 opt.max_wire_smps = 0x7FFFFFFF;
699 printf(" Max wire smp's = %d\n", opt.max_wire_smps);
713 opt.console = optarg;
721 opt.console_port = strtol(optarg, NULL, 0);
730 opt.ignore_other_sm = TRUE;
733 opt.single_thread = TRUE;
736 opt.force_log_flush = TRUE;
740 opt.disable_multicast = TRUE;
760 opt.lmc = (uint8_t) temp;
765 opt.log_flags = strtol(optarg, NULL, 0);
766 printf(" verbose option -D = 0x%x\n", opt.log_flags);
770 opt.log_file = optarg;
774 opt.log_max_size =
777 opt.log_max_size);
781 opt.accum_log_file = FALSE;
786 opt.partition_config_file = optarg;
790 opt.no_partition_enforcement = TRUE;
794 opt.qos = TRUE;
798 opt.qos_policy_file = optarg;
803 opt.exit_on_fatal = FALSE;
808 opt.log_flags = (opt.log_flags << 1) | 1;
810 opt.log_flags);
814 opt.log_flags = 0xFF;
815 opt.force_log_flush = TRUE;
826 opt.sm_priority = (uint8_t) temp;
833 opt.sm_key = sm_key;
837 opt.routing_engine_names = optarg;
842 opt.connect_roots = TRUE;
847 opt.use_ucast_cache = TRUE;
852 opt.lid_matrix_dump_file = optarg;
857 opt.lfts_file = optarg;
862 opt.sa_db_file = optarg;
870 opt.root_guid_file = optarg;
871 printf(" Root Guid File: %s\n", opt.root_guid_file);
878 opt.cn_guid_file = optarg;
880 opt.cn_guid_file);
885 opt.ids_guid_file = optarg;
886 printf(" IDs Guid File: %s\n", opt.ids_guid_file);
891 opt.guid_routing_order_file = optarg;
892 printf(" GUID Routing Order File: %s\n", opt.guid_routing_order_file);
896 opt.honor_guid2lid_file = TRUE;
901 opt.daemon = TRUE;
906 opt.sm_inactive = TRUE;
912 opt.perfmgr = TRUE;
915 opt.perfmgr_sweep_time_s = atoi(optarg);
920 opt.prefix_routes_file = optarg;
923 opt.consolidate_ipv6_snm_req = TRUE;
939 if (opt.log_file != NULL)
940 printf(" Log File: %s\n", opt.log_file);
945 status = osm_subn_write_conf_file(conf_template, &opt);
951 osm_subn_verify_config(&opt);
958 if (opt.daemon)
963 status = osm_opensm_init(&osm, &opt);
979 if (opt.guid == 0 || cl_hton64(opt.guid) == CL_HTON64(INVALID_GUID))
980 opt.guid = get_port_guid(&osm, opt.guid);
982 status = osm_opensm_bind(&osm, opt.guid);
998 osm.subn.opt.
1008 osm_manager_loop(&opt, &osm);