Home
last modified time | relevance | path

Searched refs:nvids (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_phys.c86 uint8_t *macaddr, uint16_t flags, vsw_vlanid_t *vids, int nvids);
88 int nvids);
733 mac_flags, port->vids, port->nvids); in vsw_set_port_hw_addr()
807 vswp->vids, vswp->nvids); in vsw_set_if_hw_addr()
827 int nvids; in vsw_unset_hw_addr() local
838 nvids = port->nvids; in vsw_unset_hw_addr()
842 nvids = vswp->nvids; in vsw_unset_hw_addr()
860 vsw_mac_remove_vlans(mch, vids, nvids); in vsw_unset_hw_addr()
1005 if (portp->nvids != 0) { in vsw_port_mac_reconfig()
1007 sizeof (vsw_vlanid_t) * portp->nvids); in vsw_port_mac_reconfig()
[all …]
H A Dvsw.c110 vsw_vlanid_t *vids2, int nvids);
1787 &vswp->vids, &vswp->nvids, &vswp->default_vlan_id); in vsw_get_initial_md_properties()
1822 uint_t nvids = 0; in vsw_vlan_read_ids() local
1883 nvids = size; in vsw_vlan_read_ids()
1885 if (nvids != 0) { in vsw_vlan_read_ids()
1887 vids_size = sizeof (vsw_vlanid_t) * nvids; in vsw_vlan_read_ids()
1889 for (i = 0; i < nvids; i++) { in vsw_vlan_read_ids()
1897 *nvidsp = nvids; in vsw_vlan_read_ids()
2149 uint16_t nvids; in vsw_update_md_prop() local
2238 &nvids, NULL); in vsw_update_md_prop()
[all …]
H A Dvnet_gen.c1372 &vnetp->pvid, &vnetp->vids, &vnetp->nvids, in vgen_read_mdprops()
1410 uint_t nvids; in vgen_vlan_read_ids() local
1473 nvids = size; in vgen_vlan_read_ids()
1475 if (nvids != 0) { in vgen_vlan_read_ids()
1477 vids_size = sizeof (uint16_t) * nvids; in vgen_vlan_read_ids()
1479 for (i = 0; i < nvids; i++) { in vgen_vlan_read_ids()
1486 *nvidsp = nvids; in vgen_vlan_read_ids()
1532 for (i = 0; i < portp->nvids; i++) { in vgen_vlan_add_ids()
1555 for (i = 0; i < portp->nvids; i++) { in vgen_vlan_remove_ids()
1994 uint16_t nvids; in vgen_update_md_prop() local
[all …]
H A Dvsw_switching.c1006 for (i = 0; i < vswp->nvids; i++) { in vsw_vlan_add_ids()
1030 for (i = 0; i < portp->nvids; i++) { in vsw_vlan_add_ids()
1065 for (i = 0; i < vswp->nvids; i++) { in vsw_vlan_remove_ids()
1089 for (i = 0; i < portp->nvids; i++) { in vsw_vlan_remove_ids()
H A Dvsw_ldc.c548 if (port->nvids != 0) { in vsw_port_delete()
549 kmem_free(port->vids, sizeof (vsw_vlanid_t) * port->nvids); in vsw_port_delete()
1081 portp->nvids != 0) { in vsw_vlan_unaware_port_reset()
1988 if (portp->nvids == 0) { in vsw_set_vnet_proto_ops()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw.h188 uint16_t nvids; /* # of vids */ member
H A Dvnet.h290 uint16_t nvids; /* # of vids */ member
H A Dvsw_ldc.h429 uint16_t nvids; /* # of vids */ member
H A Dvnet_gen.h396 uint16_t nvids; /* # of vids */ member