/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 999 (mod_hash_key_t)VLAN_ID_KEY(vswp->pvid), 1003 "the interface", vswp->instance, vswp->pvid); 1013 vswp->pvid); 1022 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), 1026 "the port(%d)", vswp->instance, vswp->pvid, 1037 vswp->pvid, portp->p_instance); 1057 rv = vsw_vlan_lookup(vswp->vlan_hashp, vswp->pvid); 1060 (mod_hash_key_t)VLAN_ID_KEY(vswp->pvid), 1081 rv = vsw_vlan_lookup(portp->vlan_hashp, portp->pvid); 1084 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), 1250 uint16_t pvid; local 1334 uint16_t pvid; local [all...] |
H A D | vsw.c | 1786 vsw_vlan_read_ids(vswp, VSW_LOCALDEV, mdp, node, &vswp->pvid, 2147 uint16_t pvid; local 2238 vsw_vlan_read_ids(vswp, VSW_LOCALDEV, mdp, node, &pvid, &vids, 2242 if ((pvid != vswp->pvid) || /* pvid changed? */ 2413 vsw_if_mac_reconfig(vswp, B_TRUE, pvid, vids, nvids); 2421 vswp->pvid = pvid; 2548 vsw_vlan_read_ids(portp, VSW_VNETPORT, mdp, *node, &portp->pvid, 2606 uint16_t pvid; local [all...] |
H A D | vsw_phys.c | 513 * Vsw may have to strip the tag for pvid case. 699 * If the port has a specific 'pvid', then 703 if (port->pvid != vswp->default_vlan_id) { 704 vid = port->pvid; 775 * If the interface has a specific 'pvid', then 779 if (vswp->pvid != vswp->default_vlan_id) { 780 vid = vswp->pvid; 1013 portp->pvid = new_pvid; 1073 vswp->pvid = new_pvid;
|
H A D | vnet_gen.c | 746 (vid == portp->pvid) ? (dst_tagged = B_FALSE) : 820 portp->pvid != vnetp->default_vlan_id) { 1369 &vnetp->pvid, &vnetp->vids, &vnetp->nvids, 1525 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), 1548 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), 1580 /* Untagged frame, vlan-id is the pvid of vnet device */ 1581 *vidp = vnetp->pvid; 1989 uint16_t pvid; local 2004 vgen_vlan_read_ids(vgenp, VGEN_LOCAL, mdp, mdex, &pvid, &vids, 2008 if ((pvid ! 2372 uint16_t pvid; local [all...] |
H A D | vnet.c | 125 static void vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp); 798 boolean_t is_pvid; /* non-default pvid ? */ 809 is_pvid = (vnetp->pvid != vnetp->default_vlan_id) ? B_TRUE : B_FALSE; 881 * the tag for the pvid case here; unlike packets that 895 vnetp->pvid); 1317 * Frames received that are tagged with the pvid of the vnet device must be 1322 * pvid: pvid of the vnet device for which packets are being received 1329 vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp) argument 1347 VLAN_ID(ntohs(evhp->ether_tci)) == pvid) { [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vsw.h | 186 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vsw
|
H A D | vnet.h | 288 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vnet
|
H A D | vsw_ldc.h | 427 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vsw_port
|
H A D | vnet_gen.h | 394 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vgen_port
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 4452 uint16_t pvid; local 4464 (void) memcpy(&pvid, dip->pr_val, sizeof (pvid)); 4465 (void) snprintf(*prop_val, DLADM_PROP_VAL_MAX, "%u", pvid); 4480 uint16_t pvid; local 4486 pvid = vdp->vd_val; 4487 (void) memcpy(dip->pr_val, &pvid, sizeof (pvid));
|
/illumos-gate/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) argument 1710 if (!source_has_tag && vlanid == pvid) /* 1a */ 1715 if (vlanid != pvid) /* 1c */ 1772 if (mp->b_band == 0 && vlanid == pvid) { /* 3 */ 1782 if (vlanid == pvid) 1796 if (vlanid == pvid)
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_client.c | 4639 mac_set_pvid(mac_handle_t mh, uint16_t pvid) argument 4646 if (pvid != 0) { 4651 if (muip->mui_vid == pvid) { 4658 mip->mi_pvid = pvid;
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_adminq_cmd.h | 769 __le16 pvid; /* VLANS include priority bits */ member in struct:i40e_aqc_vsi_properties_data
|