Lines Matching refs:vsw

64 #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%d: ddi_soft_state_zalloc failed", instance);
607 DERR(NULL, "vsw%d: ddi_get_soft_state failed", instance);
659 cmn_err(CE_WARN, "!vsw%d: Unable to create task queue",
670 cmn_err(CE_WARN, "!vsw%d: Unable to create rxp task queue",
810 cmn_err(CE_WARN, "!vsw%d: Unable to detach from "
823 * callbacks to this vsw device and/or its ports. Then, detach any
839 * hio-shares etc) as all the ports are detached and if the vsw device
935 * Get the value of the "vsw-phys-dev" property in the specified
962 cmn_err(CE_WARN, "!vsw%d: Unable to get name(s) of physical "
966 cmn_err(CE_WARN, "!vsw%d: %s is too long a device name",
974 cmn_err(CE_WARN, "!vsw%d: %s is an invalid device name",
986 * is a vsw.conf file present. If there is we use the value of the
996 cmn_err(CE_WARN, "vsw%d: %s is too long a device name",
1001 cmn_err(CE_NOTE, "vsw%d: Using device name (%s) from "
1015 * Read the 'vsw-switch-mode' property from the specified MD node.
1040 cmn_err(CE_WARN, "!vsw%d: Unable to get switch mode property"
1064 cmn_err(CE_WARN, "!vsw%d: Unknown switch mode %s, "
1108 cmn_err(CE_NOTE, "!vsw%d: Unable to register as "
1217 "!vsw%d: failed to program interface "
1299 cmn_err(CE_WARN, "!vsw%d: unable to add multicast "
1385 * uniquely identify this vsw instance.
1408 DERR(vswp, "%s: mdeg_register failed (%d) for vsw node",
1414 * Register an interest in 'vsw-port' nodes.
1433 cmn_err(CE_WARN, "!vsw%d: Unable to register MDEG callbacks",
1470 * Mdeg callback invoked for the vsw node itself.
1494 * already gathered information about this vsw node by
1500 * the properties of this vsw-node if any.
1511 cmn_err(CE_NOTE, "!vsw%d: number of nodes added "
1522 cmn_err(CE_NOTE, "!vsw%d: number of nodes updated "
1554 /* is this the right instance of vsw? */
1567 * Mdeg callback invoked for changes to the vsw-port nodes
1568 * under the vsw node.
1598 cmn_err(CE_WARN, "!vsw%d: Unable to add new port "
1617 cmn_err(CE_WARN, "!vsw%d: Unable to remove port %ld",
1635 * Scan the machine description for this instance of vsw
1661 * to compare against the 'cfg-handle' property of vsw nodes
1662 * in MD to get to this specific vsw instance and then read
1670 cmn_err(CE_NOTE, "!vsw%d: Unable to read %s property from "
1724 /* is this the required instance of vsw? */
1728 /* now read all properties of this vsw instance */
1756 cmn_err(CE_WARN, "!vsw%d: Unable to get MAC address from MD",
1773 * vsw device wants to get physical link updates.
1785 /* read vlan id properties of this vsw instance */
1792 /* read bandwidth property of this vsw instance */
1802 * arg: device argument(vsw device or a port)
1803 * type: type of arg; VSW_LOCALDEV(vsw device) or VSW_VNETPORT(port)
1811 * default_idp: default-vlan-id of the node(if node is vsw device)
1926 * a vnet or vsw within ldoms, should configure this property by providing
2009 * Update the mtu of the vsw device. We first check if the device has been
2025 cmn_err(CE_NOTE, "!vsw%d: Unable to process mtu update"
2041 "!vsw%d: Unable to update mtu with mac"
2101 /* read the vsw bandwidth from md */
2166 * the vsw is being changed to 'routed' mode.
2171 cmn_err(CE_WARN, "!vsw%d: physical device %s is not"
2187 cmn_err(CE_WARN, "!vsw%d: Unable to read name of physical "
2196 cmn_err(CE_WARN, "!vsw%d: Unable to get MAC address from MD",
2225 cmn_err(CE_WARN, "!vsw%d: Unable to read %s property from MD",
2255 cmn_err(CE_NOTE, "!vsw%d: Unable to process mtu update"
2275 cmn_err(CE_NOTE, "!vsw%d: Unable to process bandwidth"
2291 * Phys link state update is now disabled for this vsw
2322 * Remove unicst, mcst addrs of vsw interface
2339 cmn_err(CE_NOTE, "!vsw%d: changing from %s to %s",
2369 * vsw interface will be done by the thread when the
2389 cmn_err(CE_NOTE, "!vsw%d: changing mac address to 0x%lx",
2439 cmn_err(CE_WARN, "!vsw%d: configuration unchanged", vswp->instance);
2443 cmn_err(CE_WARN, "!vsw%d: re-configuration failed",
2671 cmn_err(CE_NOTE, "!vsw%d: Unable to process bandwidth"
2771 /* copy mac address of vsw into soft state structure */