Searched refs:lmc (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-10-stable/sys/modules/lmc/
H A DMakefile4 .PATH: ${.CURDIR}/../../dev/lmc
/freebsd-10-stable/sys/ofed/include/rdma/
H A Dib_cache.h104 * ib_get_cached_lmc - Returns a cached lmc table entry
107 * @lmc: The lmc value for the specified port for that device.
109 * ib_get_cached_lmc() fetches the specified lmc table entry stored in
114 u8 *lmc);
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/include/
H A Dibnetdiscover.h74 int lmc; member in struct:Port
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/src/
H A Dibaddr.c63 int lmc; local
73 mad_decode_field(portinfo, IB_PORT_LMC_F, &lmc);
85 printf("LID start 0x%x end 0x%x", portid->lid, portid->lid + (1 << lmc) - 1);
87 printf("LID start %d end %d", portid->lid, portid->lid + (1 << lmc) - 1);
H A Dibroute.c240 int baselid, lmc, type; local
280 mad_decode_field(pi, IB_PORT_LMC_F, &lmc);
282 if (lmc > 0) {
284 last_port_lid = baselid + (1 << lmc) - 1;
H A Dibtracert.c86 int lmc; member in struct:Port
148 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc);
213 port->lid, port->lid + (1 << port->lmc) - 1,
237 port->lid, port->lid + (1 << port->lmc) - 1,
395 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc);
645 node->ports->lid + (1 << node->ports->lmc) - 1,
669 node->ports->lid + (1 << node->ports->lmc) - 1,
H A Dibnetdiscover.c136 mad_decode_field(pi, IB_PORT_LMC_F, &port->lmc);
196 node->smalmc = port->lmc;
235 port->lid, port->lid + (1 << port->lmc) - 1,
558 fprintf(f, "\nSwitch\t%d %s\t\t# \"%s\" %s port 0 lid %d lmc %d\n",
676 fprintf(f, "\t\t# lid %d lmc %d \"%s\" lid %d %s%s\n",
677 port->lid, port->lmc, rem_nodename,
H A Dibstat.c130 printf("%sLMC: %d\n", pre, port->lmc);
/freebsd-10-stable/libexec/rtld-elf/
H A Dlibmap.c44 static TAILQ_HEAD(lmc_list, lmc) lmc_head = TAILQ_HEAD_INITIALIZER(lmc_head);
45 struct lmc { struct
47 TAILQ_ENTRY(lmc) next;
107 struct lmc *p;
147 p = xmalloc(sizeof(struct lmc));
159 struct lmc *p;
180 p = xmalloc(sizeof(struct lmc));
329 struct lmc *p;
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/
H A Dosm_lid_mgr.c62 * 1.2.2 validate no duplicate use of lids and lids are 2^(lmc-1)
65 * 2.1 if reassign_lids is set, make it 2^lmc
149 if (p_mgr->p_subn->opt.lmc)
150 lmc_mask = ~((1 << p_mgr->p_subn->opt.lmc) - 1);
284 current lmc */
324 uint8_t lmc_num_lids = (uint8_t) (1 << p_mgr->p_subn->opt.lmc);
330 if (p_mgr->p_subn->opt.lmc)
331 lmc_mask = ~((1 << p_mgr->p_subn->opt.lmc) - 1);
482 b. Make sure all needed lids (for the lmc) are free according
628 const uint8_t start_lid = (uint8_t) (1 << p_mgr->p_subn->opt.lmc);
[all...]
H A Dosm_port.c202 uint8_t lmc; local
205 lmc = osm_port_get_lmc(p_port);
206 *p_max_lid = (uint16_t) (*p_min_lid + (1 << lmc) - 1);
218 uint8_t lmc; local
222 /* Loop on lmc from 0 up through max LMC possible */
223 for (lmc = 0; lmc <= IB_PORT_LMC_MAX; lmc++) {
225 base_lid = cl_ntoh16(lid) & ~((1 << lmc) - 1);
233 if (lmc
[all...]
H A Dosm_sa_guidinfo_record.c133 uint8_t lmc; local
192 lmc = osm_physp_get_lmc(p_physp);
193 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1);
H A Dosm_sa_node_record.c129 uint8_t lmc; local
165 lmc = osm_physp_get_lmc(p_physp);
166 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1);
H A Dosm_ucast_file.c60 uint8_t lmc; local
74 lmc = osm_port_get_lmc(p_port);
75 return min_lid + (lid & ((1 << lmc) - 1));
H A Dosm_ucast_mgr.c438 unsigned lmc; local
443 lmc = ib_port_info_get_lmc(&port->p_physp->port_info);
444 if (!lmc)
446 r = malloc(sizeof(*r) + sizeof(r->guids[0]) * (1 << lmc));
450 " systems for lmc > 0\n");
454 memset(r, 0, sizeof(*r) + sizeof(r->guids[0]) * (1 << lmc));
493 if (p_mgr->p_subn->opt.lmc)
500 lids_per_port = 1 << p_mgr->p_subn->opt.lmc;
513 if (p_mgr->p_subn->opt.lmc)
H A Dosm_sa_portinfo_record.c121 uint8_t lmc; local
132 lmc =
138 lmc = osm_physp_get_lmc(p_physp);
141 max_lid_ho = (uint16_t) (base_lid_ho + (1 << lmc) - 1);
H A Dosm_link_mgr.c171 p_pi->mkey_lmc = sm->p_subn->opt.lmc;
174 p_pi->mkey_lmc = sm->p_subn->opt.lmc;
H A Dosm_subnet.c401 p_opt->lmc = OSM_DEFAULT_LMC;
954 if (p_opts->lmc > 7) {
955 log_report(" Invalid Cached Option Value:lmc = %u:"
956 "Using Default:%u\n", p_opts->lmc, OSM_DEFAULT_LMC);
957 p_opts->lmc = OSM_DEFAULT_LMC;
1095 opts_unpack_uint8("lmc", p_key, p_val, &p_opts->lmc);
1376 "lmc %u\n\n"
1428 p_opts->lmc,
/freebsd-10-stable/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_hca_pfs.c248 uint8_t lmc; member in struct:_pfs_port_info
268 int lid, sm_lid, lmc, sm_sl; local
352 if (sscanf(p_ch, "LMC: %x", &lmc) != 1) {
358 pfs_port_info->lmc = lmc;
393 "Obtained Port:%d = state:%d, lid:0x%04X, lmc:%d, sm_lid:0x%04X, sm_sl:%d\n",
395 pfs_port_info->lmc, pfs_port_info->sm_lid,
H A Dosm_vendor_mlx_hca_sim.c294 uint8_t lmc; member in struct:_sim_port_info
314 int lid, sm_lid, lmc, sm_sl; local
398 if (sscanf(p_ch, "LMC: %x", &lmc) != 1) {
404 sim_port_info->lmc = lmc;
439 "Obtained Port:%d = state:%d, lid:0x%04X, lmc:%d, sm_lid:0x%04X, sm_sl:%d\n",
441 sim_port_info->lmc, sim_port_info->sm_lid,
/freebsd-10-stable/contrib/ofed/management/opensm/osmtest/
H A Dosmt_slvl_vl_arb.c489 uint8_t lmc; local
508 osmtest_get_local_port_lmc(p_osmt, p_osmt->local_port.lid, &lmc);
512 if (lmc != 0) {
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
H A Dcache.c195 u8 *lmc)
204 *lmc = device->cache.lmc_cache[port_num - start_port(device)];
271 device->cache.lmc_cache[port - start_port(device)] = tprops->lmc;
193 ib_get_cached_lmc(struct ib_device *device, u8 port_num, u8 *lmc) argument
/freebsd-10-stable/contrib/ofed/management/libibumad/include/infiniband/
H A Dumad.h126 unsigned lmc; member in struct:umad_port
/freebsd-10-stable/contrib/ofed/management/opensm/include/opensm/
H A Dosm_subnet.h151 uint8_t lmc; member in struct:osm_subn_opt
259 * lmc
/freebsd-10-stable/sys/contrib/octeon-sdk/
H A Dcvmx-ciu2-defs.h2495 uint64_t lmc : 4; /**< LMC* interrupt-enable */ member in struct:cvmx_ciu2_en_iox_int_mem::cvmx_ciu2_en_iox_int_mem_s
2497 uint64_t lmc : 4;
2514 uint64_t lmc : 4; /**< Write 1 to clear CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_iox_int_mem_w1c::cvmx_ciu2_en_iox_int_mem_w1c_s
2516 uint64_t lmc : 4;
2533 uint64_t lmc : 4; /**< Write 1 to enable CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_iox_int_mem_w1s::cvmx_ciu2_en_iox_int_mem_w1s_s
2535 uint64_t lmc : 4;
3599 uint64_t lmc : 4; /**< LMC* interrupt-enable */ member in struct:cvmx_ciu2_en_ppx_ip2_mem::cvmx_ciu2_en_ppx_ip2_mem_s
3601 uint64_t lmc : 4;
3618 uint64_t lmc : 4; /**< Write 1 to clear CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip2_mem_w1c::cvmx_ciu2_en_ppx_ip2_mem_w1c_s
3620 uint64_t lmc
3637 uint64_t lmc : 4; /**< Write 1 to enable CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip2_mem_w1s::cvmx_ciu2_en_ppx_ip2_mem_w1s_s
4703 uint64_t lmc : 4; /**< LMC* interrupt-enable */ member in struct:cvmx_ciu2_en_ppx_ip3_mem::cvmx_ciu2_en_ppx_ip3_mem_s
4722 uint64_t lmc : 4; /**< Write 1 to clear CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip3_mem_w1c::cvmx_ciu2_en_ppx_ip3_mem_w1c_s
4741 uint64_t lmc : 4; /**< Write 1 to enable CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip3_mem_w1s::cvmx_ciu2_en_ppx_ip3_mem_w1s_s
5807 uint64_t lmc : 4; /**< LMC* interrupt-enable */ member in struct:cvmx_ciu2_en_ppx_ip4_mem::cvmx_ciu2_en_ppx_ip4_mem_s
5826 uint64_t lmc : 4; /**< Write 1 to clear CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip4_mem_w1c::cvmx_ciu2_en_ppx_ip4_mem_w1c_s
5845 uint64_t lmc : 4; /**< Write 1 to enable CIU2_EN_xx_yy_MEM[LMC] */ member in struct:cvmx_ciu2_en_ppx_ip4_mem_w1s::cvmx_ciu2_en_ppx_ip4_mem_w1s_s
7029 uint64_t lmc : 4; /**< LMC* interrupt member in struct:cvmx_ciu2_raw_iox_int_mem::cvmx_ciu2_raw_iox_int_mem_s
7454 uint64_t lmc : 4; /**< LMC* interrupt member in struct:cvmx_ciu2_raw_ppx_ip2_mem::cvmx_ciu2_raw_ppx_ip2_mem_s
7879 uint64_t lmc : 4; /**< LMC* interrupt member in struct:cvmx_ciu2_raw_ppx_ip3_mem::cvmx_ciu2_raw_ppx_ip3_mem_s
8304 uint64_t lmc : 4; /**< LMC* interrupt member in struct:cvmx_ciu2_raw_ppx_ip4_mem::cvmx_ciu2_raw_ppx_ip4_mem_s
8751 uint64_t lmc : 4; /**< LMC* interrupt source member in struct:cvmx_ciu2_src_iox_int_mem::cvmx_ciu2_src_iox_int_mem_s
9191 uint64_t lmc : 4; /**< LMC* interrupt source member in struct:cvmx_ciu2_src_ppx_ip2_mem::cvmx_ciu2_src_ppx_ip2_mem_s
9634 uint64_t lmc : 4; /**< LMC* interrupt source member in struct:cvmx_ciu2_src_ppx_ip3_mem::cvmx_ciu2_src_ppx_ip3_mem_s
10074 uint64_t lmc : 4; /**< LMC* interrupt source member in struct:cvmx_ciu2_src_ppx_ip4_mem::cvmx_ciu2_src_ppx_ip4_mem_s
[all...]

Completed in 381 milliseconds

123