Lines Matching refs:mirror_dlid
127 static int mirror_query, mirror_dport, mirror_dlid, mirror_clear, mirror_sl, lossy_set; variable
162 if (mirror_type == MT_MIRROR_ENCAP && mirror_dlid == 0) in port_mirror_route()
163 mad_decode_field(buf, IB_PMR_LRH_DLID_F, &mirror_dlid); in port_mirror_route()
172 if (mirror_dlid == 0) { in port_mirror_route()
184 mad_set_field(buf, 0, IB_PMR_LRH_DLID_F, mirror_dlid); in port_mirror_route()
240 if (mirror_dlid) { in get_out_port()
241 block = mirror_dlid / IB_SMP_DATA_SIZE; in get_out_port()
242 offset = mirror_dlid - block * IB_SMP_DATA_SIZE; in get_out_port()
246 block = mirror_dlid / IB_SMP_DATA_SIZE; in get_out_port()
247 offset = mirror_dlid - block * IB_SMP_DATA_SIZE; in get_out_port()
402 mirror_dlid = strtoul(optarg, NULL, 0); in process_opt()
506 portid.lid, mirror_clear, mirror_dlid, in main()
521 else if (!mirror_dport && !mirror_dlid) in main()