/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 999 (mod_hash_key_t)VLAN_ID_KEY(vswp->pvid), in vsw_vlan_add_ids() 1003 "the interface", vswp->instance, vswp->pvid); in vsw_vlan_add_ids() 1013 vswp->pvid); in vsw_vlan_add_ids() 1022 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vsw_vlan_add_ids() 1026 "the port(%d)", vswp->instance, vswp->pvid, in vsw_vlan_add_ids() 1037 vswp->pvid, portp->p_instance); in vsw_vlan_add_ids() 1057 rv = vsw_vlan_lookup(vswp->vlan_hashp, vswp->pvid); in vsw_vlan_remove_ids() 1060 (mod_hash_key_t)VLAN_ID_KEY(vswp->pvid), in vsw_vlan_remove_ids() 1081 rv = vsw_vlan_lookup(portp->vlan_hashp, portp->pvid); in vsw_vlan_remove_ids() 1084 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vsw_vlan_remove_ids() [all …]
|
H A D | vsw.c | 1786 vsw_vlan_read_ids(vswp, VSW_LOCALDEV, mdp, node, &vswp->pvid, in vsw_get_initial_md_properties() 2147 uint16_t pvid; in vsw_update_md_prop() local 2238 vsw_vlan_read_ids(vswp, VSW_LOCALDEV, mdp, node, &pvid, &vids, in vsw_update_md_prop() 2242 if ((pvid != vswp->pvid) || /* pvid changed? */ in vsw_update_md_prop() 2413 vsw_if_mac_reconfig(vswp, B_TRUE, pvid, vids, nvids); in vsw_update_md_prop() 2421 vswp->pvid = pvid; in vsw_update_md_prop() 2548 vsw_vlan_read_ids(portp, VSW_VNETPORT, mdp, *node, &portp->pvid, in vsw_port_read_props() 2606 uint16_t pvid; in vsw_port_update() local 2644 vsw_vlan_read_ids(portp, VSW_VNETPORT, curr_mdp, curr_mdex, &pvid, in vsw_port_update() 2648 if ((pvid != portp->pvid) || /* pvid changed? */ in vsw_port_update() [all …]
|
H A D | vnet_gen.c | 746 (vid == portp->pvid) ? (dst_tagged = B_FALSE) : in vgen_vlan_frame_fixtag() 820 portp->pvid != vnetp->default_vlan_id) { in vgen_portsend() 1369 &vnetp->pvid, &vnetp->vids, &vnetp->nvids, in vgen_read_mdprops() 1525 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vgen_vlan_add_ids() 1548 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vgen_vlan_remove_ids() 1581 *vidp = vnetp->pvid; in vgen_frame_lookup_vid() 1989 uint16_t pvid; in vgen_update_md_prop() local 2004 vgen_vlan_read_ids(vgenp, VGEN_LOCAL, mdp, mdex, &pvid, &vids, in vgen_update_md_prop() 2008 if ((pvid != vnetp->pvid) || /* pvid changed? */ in vgen_update_md_prop() 2040 vnetp->pvid = pvid; in vgen_update_md_prop() [all …]
|
H A D | vsw_phys.c | 703 if (port->pvid != vswp->default_vlan_id) { in vsw_set_port_hw_addr() 704 vid = port->pvid; in vsw_set_port_hw_addr() 779 if (vswp->pvid != vswp->default_vlan_id) { in vsw_set_if_hw_addr() 780 vid = vswp->pvid; in vsw_set_if_hw_addr() 1013 portp->pvid = new_pvid; in vsw_port_mac_reconfig() 1073 vswp->pvid = new_pvid; in vsw_if_mac_reconfig()
|
H A D | vnet.c | 125 static void vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp); 809 is_pvid = (vnetp->pvid != vnetp->default_vlan_id) ? B_TRUE : B_FALSE; in vnet_tx_ring_send() 895 vnetp->pvid); in vnet_tx_ring_send() 1329 vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp) in vnet_rx_frames_untag() argument 1347 VLAN_ID(ntohs(evhp->ether_tci)) == pvid) { in vnet_rx_frames_untag() 2620 if (vnetp->pvid != vnetp->default_vlan_id) { in vnet_rx_poll() 2621 vnet_rx_frames_untag(vnetp->pvid, &mp); in vnet_rx_poll() 2646 if (vnetp->pvid != vnetp->default_vlan_id) { in vnet_hio_rx_cb() 2647 vnet_rx_frames_untag(vnetp->pvid, &mp); in vnet_hio_rx_cb()
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 186 uint16_t pvid; /* port vlan id (untagged) */ member
|
H A D | vnet.h | 288 uint16_t pvid; /* port vlan id (untagged) */ member
|
H A D | vsw_ldc.h | 427 uint16_t pvid; /* port vlan id (untagged) */ member
|
H A D | vnet_gen.h | 394 uint16_t pvid; /* port vlan id (untagged) */ member
|
/titanic_50/usr/src/uts/common/io/ |
H A D | bridge.c | 1694 reform_vlan_header(mblk_t *mp, uint16_t vlanid, uint16_t tci, uint16_t pvid) in reform_vlan_header() argument 1710 if (!source_has_tag && vlanid == pvid) /* 1a */ in reform_vlan_header() 1715 if (vlanid != pvid) /* 1c */ in reform_vlan_header() 1772 if (mp->b_band == 0 && vlanid == pvid) { /* 3 */ in reform_vlan_header() 1782 if (vlanid == pvid) in reform_vlan_header() 1796 if (vlanid == pvid) in reform_vlan_header()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 4501 uint16_t pvid; in get_bridge_pvid() local 4513 (void) memcpy(&pvid, dip->pr_val, sizeof (pvid)); in get_bridge_pvid() 4514 (void) snprintf(*prop_val, DLADM_PROP_VAL_MAX, "%u", pvid); in get_bridge_pvid() 4529 uint16_t pvid; in set_bridge_pvid() local 4535 pvid = vdp->vd_val; in set_bridge_pvid() 4536 (void) memcpy(dip->pr_val, &pvid, sizeof (pvid)); in set_bridge_pvid()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_client.c | 4640 mac_set_pvid(mac_handle_t mh, uint16_t pvid) in mac_set_pvid() argument 4647 if (pvid != 0) { in mac_set_pvid() 4652 if (muip->mui_vid == pvid) { in mac_set_pvid() 4659 mip->mi_pvid = pvid; in mac_set_pvid()
|
/titanic_50/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq_cmd.h | 869 __le16 pvid; /* VLANS include priority bits */ member
|