Searched defs:ldc_id (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_hio.c101 static vsw_share_t *vsw_hio_find_vshare_ldcid(vsw_t *vswp, uint64_t ldc_id);
195 uint64_t ldc_id = ldcp->ldc_id; local
206 rv = mac_share_bind(portp->p_mch, ldc_id, &vsharep->vs_cookie);
213 vsharep->vs_ldcid = ldcp->ldc_id;
247 * vsw_hio_find_vshare_ldcid -- Given ldc_id, find the corresponding
251 vsw_hio_find_vshare_ldcid(vsw_t *vswp, uint64_t ldc_id) argument
257 D1(vswp, "%s:enter, ldc=0x%lx", __func__, ldc_id);
263 if (vsharep->vs_ldcid == ldc_id) {
319 DERR(vswp, "Share freed for ldc_id
[all...]
H A Dds_drv.c336 uint64_t ldc_id; local
355 if (md_get_prop_val(mdp, chan, "id", &ldc_id) != 0) {
361 if (ds_add_port(port_id, ldc_id, DS_DHDL_INVALID, NULL, 1) != 0)
773 ds_add_port(uint64_t port_id, uint64_t ldc_id, ds_domain_hdl_t dhdl, argument
786 "name: '%s'", __func__, port_id, ldc_id, dhdl,
809 newport->ldc.id = ldc_id;
H A Dvldc.c267 "event=0x%lx\n", vport->inst, vport->number, vport->ldc_id, event);
530 i_vldc_get_port_channel(md_t *mdp, mde_cookie_t node, uint64_t *ldc_id) argument
563 if (md_get_prop_val(mdp, listp[0], "id", ldc_id)) {
614 if (i_vldc_get_port_channel(mdp, node, &vport->ldc_id) == -1) {
668 vport->inst, vport->number, vport->mtu, vport->ldc_id, sname);
1135 if ((rv = ldc_init(vport->ldc_id, &attr,
1177 vport->ldc_id);
H A Dvlds.c1156 vlds_get_port_channel(md_t *mdp, mde_cookie_t node, uint64_t *ldc_id) argument
1190 if (md_get_prop_val(mdp, listp[0], "id", ldc_id)) {
1207 uint64_t ldc_id; local
1227 if (vlds_get_port_channel(mdp, node, &ldc_id) == -1) {
1244 rv = ds_add_port(portno, ldc_id, dhdl, dom_name, vlds_ports_inited);
1249 "failed err = %d", portno, __func__, ldc_id, rv);
1255 __func__, ldc_id);
H A Dvcc.c89 static int i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id);
416 ASSERT(vport->ldc_id != VCC_INVALID_CHANNEL);
424 if ((rv = ldc_init(vport->ldc_id, &attr, &(vport->ldc_handle))) != 0) {
426 " failed ldc_init %d \n", vport->number, vport->ldc_id, rv);
427 vport->ldc_id = VCC_INVALID_CHANNEL;
437 vport->ldc_id = VCC_INVALID_CHANNEL;
444 vport->number, vport->ldc_id);
447 vport->ldc_id = VCC_INVALID_CHANNEL;
458 vport->ldc_id = VCC_INVALID_CHANNEL;
474 D1("i_vcc_ldc_fini: port@%lld, ldc_id
678 i_vcc_config_port(vcc_t *vccp, uint_t portno, uint64_t ldc_id) argument
2248 i_vcc_get_ldc_id(md_t *md, mde_cookie_t mdep, uint64_t *ldc_id) argument
2299 uint64_t ldc_id; local
[all...]
H A Dvsw.c2454 uint64_t ldc_id; local
2499 if (md_get_prop_val(mdp, listp[0], id_propname, &ldc_id)) {
2509 D2(vswp, "%s: ldc_id 0x%llx", __func__, ldc_id);
2545 bcopy(&ldc_id, (portp->ldc_ids), sizeof (uint64_t) * nchan);
H A Dvsw_ldc.c75 static int vsw_ldc_attach(vsw_port_t *port, uint64_t ldc_id);
563 vsw_ldc_attach(vsw_port_t *port, uint64_t ldc_id) argument
585 ldcp->ldc_id = ldc_id;
615 status = ldc_init(ldc_id, &attr, &ldcp->ldc_handle);
618 __func__, ldc_id, status);
634 __func__, ldc_id);
642 __func__, ldc_id, status);
669 (void) sprintf(kname, "%sldc0x%lx", DRV_NAME, ldcp->ldc_id);
726 D2(vswp, "%s: detaching channel %lld", __func__, ldcp->ldc_id);
[all...]
H A Dvdc.c511 srvr->ldc_id, rv);
833 status = ldc_init(srvr->ldc_id, &ldc_attr,
837 vdc->instance, srvr->ldc_id, status);
869 vdc->instance, srvr->ldc_id, status);
2450 &srvr->ldc_id) != 0) {
2517 vdc->instance, vdc->curr_server->ldc_id);
2526 vdc->instance, vdc->curr_server->ldc_id, status);
2532 vdc->curr_server->ldc_id, status);
4243 vdcp->instance, vdcp->curr_server->id, vdcp->curr_server->ldc_id);
4250 uint64_t ldc_id, port_i local
[all...]
H A Dvnet_gen.c124 static int vgen_ldc_attach(vgen_port_t *portp, uint64_t ldc_id);
457 /* -1 for all LDCs info, or ldc_id for a specific LDC info */
467 if ((vgendbg_ldcid == ldcp->ldc_id) &&
2177 DBG2(vgenp, NULL, "ldc_id 0x%llx", ldc_ids[i]);
2453 /* attach the channel corresponding to the given ldc_id to the port */
2455 vgen_ldc_attach(vgen_port_t *portp, uint64_t ldc_id) argument
2475 ldcp->ldc_id = ldc_id;
2495 status = ldc_init(ldc_id, &attr, &ldcp->ldc_handle);
2522 (void) sprintf(kname, "vnetldc0x%lx", ldcp->ldc_id);
[all...]
H A Dvds.c6716 uint64_t ldc_id, vd_t **vdp)
6813 if ((status = ldc_init(ldc_id, &ldc_attr, &vd->ldc_handle)) != 0) {
6815 "init failed with error %d", ldc_id, status);
6823 "reg_callback failed with error %d", ldc_id, status);
6829 "open failed with error %d", ldc_id, status);
6841 "alloc_handle failed with error %d", ldc_id, status);
7001 uint64_t ldc_id)
7008 ldc_id, &vd)) != 0)
7016 uint64_t *ldc_id)
7030 if (md_get_prop_val(md, channel[0], VD_ID_PROP, ldc_id) !
6715 vds_do_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options, uint64_t ldc_id, vd_t **vdp) argument
7000 vds_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options, uint64_t ldc_id) argument
7015 vds_do_get_ldc_id(md_t *md, mde_cookie_t vd_node, mde_cookie_t *channel, uint64_t *ldc_id) argument
7044 vds_get_ldc_id(md_t *md, mde_cookie_t vd_node, uint64_t *ldc_id) argument
7222 uint64_t id = 0, ldc_id = 0, options = 0; local
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h105 uint64_t ldc_id; /* Channel number */ member in struct:vldc_port
H A Dvcc_impl.h264 uint64_t ldc_id; /* Channel number */ member in struct:vcc_port
H A Dvdc.h278 uint64_t ldc_id; /* Server LDC id */ member in struct:vdc_server
H A Dvnet_gen.h279 uint64_t ldc_id; /* channel number */ member in struct:vgen_ldc
H A Dvsw_ldc.h326 uint64_t ldc_id; /* channel number */ member in struct:vsw_ldc

Completed in 186 milliseconds