Searched refs:vsw (Results 1 - 18 of 18) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/
H A Dvsw_hio.h49 struct vsw *vs_vswp; /* Back pointer to vswp */
70 vsw_hio_kstats_t *vh_kstatsp; /* stats for vsw hio */
H A Dvsw.h29 * virtual switch (vsw) uses to communicate with its clients and
50 #define DRV_NAME "vsw"
60 #define VSW_LOCALDEV 4 /* vsw configured as an eth interface */
118 * vsw instance state information.
120 typedef struct vsw { struct
125 struct vsw *next; /* next in list */
149 (struct vsw *, mblk_t *, int,
H A Dvsw_ldc.h28 * virtual switch (vsw) uses to communicate with vnet clients.
56 * vsw instance
318 /* ldc information associated with a vsw-port */
322 struct vsw *ldc_vswp; /* associated vsw */
398 /* port information associated with a vsw */
402 struct vsw *p_vswp; /* associated vsw */
441 /* list of ports per vsw */
/opensolaris-onvv-gate/usr/src/uts/sun4v/vsw/
H A DMakefile28 # uts/sun4v/vsw/Makefile
30 # This makefile drives the production of the vsw driver module.
43 MODULE = vsw
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dswapgeneric.c124 struct vfssw *vsw; local
167 vsw = vfs_getvfsswbyname(rootfs.bo_fstype);
169 if (vsw == NULL) {
174 VFS_INIT(rootvfs, &vsw->vsw_vfsops, (caddr_t)0);
229 vfs_unrefvfssw(vsw);
339 struct vfssw *vsw; local
377 if ((vsw = getfstype("root", rootfs.bo_fstype, BO_MAXFSNAME)) == NULL)
380 (void) strcpy(rootfs.bo_fstype, vsw->vsw_name);
382 vfs_unrefvfssw(vsw);
653 struct vfssw *vsw; local
[all...]
/opensolaris-onvv-gate/usr/src/pkg/manifests/
H A Dsystem-ldoms.mf68 driver name=vsw alias=SUNW,sun4v-network-switch \
69 clone_perms="vsw 0666 root sys" perms="* 0666 root sys"
86 file path=platform/sun4v/kernel/drv/$(ARCH64)/vsw group=sys
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c3455 vmem_seg_walk_t *vsw; local
3462 wsp->walk_data = vsw = mdb_alloc(sizeof (vmem_seg_walk_t), UM_SLEEP);
3464 vsw->vsw_type = type;
3465 vsw->vsw_start = wsp->walk_addr + offsetof(vmem_t, vm_seg0);
3466 vsw->vsw_current = vsw->vsw_start;
3504 vmem_seg_walk_t *vsw = wsp->walk_data; local
3505 uintptr_t addr = vsw->vsw_current;
3524 vsw->vsw_current = (uintptr_t)seg.vs_anext;
3525 if (vsw
3540 vmem_seg_walk_t *vsw = wsp->walk_data; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2942 vmem_seg_walk_t *vsw; local
2949 wsp->walk_data = vsw = mdb_alloc(sizeof (vmem_seg_walk_t), UM_SLEEP);
2951 vsw->vsw_type = type;
2952 vsw->vsw_start = wsp->walk_addr + OFFSETOF(vmem_t, vm_seg0);
2953 vsw->vsw_current = vsw->vsw_start;
2991 vmem_seg_walk_t *vsw = wsp->walk_data; local
2992 uintptr_t addr = vsw->vsw_current;
3011 vsw->vsw_current = (uintptr_t)seg.vs_anext;
3012 if (vsw
3027 vmem_seg_walk_t *vsw = wsp->walk_data; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4v/
H A DMakefile.files155 VSW_OBJS = vsw.o vsw_ldc.o vsw_phys.o vsw_switching.o vsw_hio.o \
H A DMakefile.sun4v.shared353 DRV_KMODS += vsw
/opensolaris-onvv-gate/usr/src/uts/common/fs/
H A Dvfs.c629 struct vfssw *vsw; local
652 vsw = vfs_getvfsswbyname("devfs");
653 VFS_INIT(&devices, &vsw->vsw_vfsops, NULL);
707 struct vfssw *vsw; local
730 vsw = vfs_getvfsswbyname("dev");
731 VFS_INIT(&dev, &vsw->vsw_vfsops, NULL);
4521 struct vfssw *vsw; local
4548 vsw = vfs_getvfsswbyname(fstyp);
4550 if (vsw == NULL) {
4554 VFS_INIT(rootvfs, &vsw
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4v/io/
H A Dvsw_hio.c65 #include <sys/vsw.h>
449 cmn_err(CE_NOTE, "vsw%d: All physical resources "
H A Dvsw_rxdring.c40 #include <sys/vsw.h>
49 * Protocol in vsw. The functions in this file are invoked from vsw_ldc.c
383 * don't need to wait for the task to complete. If the vsw
H A Dvsw_phys.c68 #include <sys/vsw.h>
175 * Program unicast and multicast addresses of vsw interface and the ports
193 "!vsw%d: failed to program interface "
220 "!vsw%d: failed to program port(%d) "
237 * for the vsw interface and all ports.
290 cmn_err(CE_WARN, "!vsw%d: mac_open %s failed rv:%x\n",
301 cmn_err(CE_CONT, "!vsw%d: mac_notify_add %s failed rv:%x\n",
346 cmn_err(CE_WARN, "!vsw%d: unable to "
415 cmn_err(CE_WARN, "!vsw%d: unable to program "
509 * vsw t
[all...]
H A Dvsw_switching.c63 #include <sys/vsw.h>
314 cmn_err(CE_WARN, "!vsw%d: Unable to setup specified "
356 cmn_err(CE_WARN, "!vsw%d: no network device name specified",
366 cmn_err(CE_WARN, "!vsw%d: Unable to open network "
444 * vswp: pointer to the vsw instance
447 * 1. VSW_VNETPORT - a vsw port (connected to a vnet).
449 * 3. VSW_LOCALDEV - vsw configured as a virtual interface
483 * If destination is VSW_LOCALDEV (vsw as an eth
686 * Program unicst, mcst addrs of vsw
898 * This function creates the vlan id hash table for the given vsw devic
[all...]
H A Dvsw_txdring.c40 #include <sys/vsw.h>
49 * Protocol in vsw. The functions in this file are invoked from vsw_ldc.c
499 * vsw device itself gets detached (vsw_detach()), it will wait
H A Dvsw.c64 #include <sys/vsw.h>
205 * should be updated to the same value in all vnets connected to this vsw.
211 * If vsw initiates version negotiation starting from the highest version,
236 * after vsw's physical device is changed dynamically or after a guest (client
434 static char physdev_propname[] = "vsw-phys-dev";
435 static char smode_propname[] = "vsw-switch-mode";
469 * in changes to 'virtual-device' nodes (i.e. vsw nodes) identified
485 * template is copied for each vsw instance and filled in with
525 cmn_err(CE_CONT, "vsw%d: %s\n", vswp->instance, buf);
601 DERR(NULL, "vsw
[all...]
H A Dvsw_ldc.c63 #include <sys/vsw.h>
385 /* link it into the list of ports for this vsw instance */
769 "!vsw%d: Error(%d) closing the channel(0x%lx)\n",
1013 cmn_err(CE_NOTE, "!vsw%d: unable to dispatch marker task",
1418 cmn_err(CE_WARN, "!vsw%d: unable to allocate memory for"
1428 cmn_err(CE_WARN, "!vsw%d: Can't dispatch connection task",
1479 cmn_err(CE_WARN, "!vsw%d: Unable to read status of "
1514 cmn_err(CE_WARN, "!vsw%d: Unable to read status of "
1525 cmn_err(CE_WARN, "!vsw%d: exceeded number of permitted"
1535 cmn_err(CE_WARN, "!vsw
[all...]

Completed in 145 milliseconds