Home
last modified time | relevance | path

Searched refs:pvid (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_switching.c999 (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 Dvsw.c1786 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
2237 vsw_vlan_read_ids(vswp, VSW_LOCALDEV, mdp, node, &pvid, &vids, in vsw_update_md_prop()
2241 if ((pvid != vswp->pvid) || /* pvid changed? */ in vsw_update_md_prop()
2412 vsw_if_mac_reconfig(vswp, B_TRUE, pvid, vids, nvids); in vsw_update_md_prop()
2420 vswp->pvid = pvid; in vsw_update_md_prop()
2547 vsw_vlan_read_ids(portp, VSW_VNETPORT, mdp, *node, &portp->pvid, in vsw_port_read_props()
2605 uint16_t pvid; in vsw_port_update() local
2643 vsw_vlan_read_ids(portp, VSW_VNETPORT, curr_mdp, curr_mdex, &pvid, in vsw_port_update()
2647 if ((pvid != portp->pvid) || /* pvid changed? */ in vsw_port_update()
[all …]
H A Dvnet_gen.c746 (vid == portp->pvid) ? (dst_tagged = B_FALSE) : in vgen_vlan_frame_fixtag()
823 portp->pvid != vnetp->default_vlan_id) { in vgen_portsend()
1372 &vnetp->pvid, &vnetp->vids, &vnetp->nvids, in vgen_read_mdprops()
1528 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vgen_vlan_add_ids()
1551 (mod_hash_key_t)VLAN_ID_KEY(portp->pvid), in vgen_vlan_remove_ids()
1584 *vidp = vnetp->pvid; in vgen_frame_lookup_vid()
1992 uint16_t pvid; in vgen_update_md_prop() local
2007 vgen_vlan_read_ids(vgenp, VGEN_LOCAL, mdp, mdex, &pvid, &vids, in vgen_update_md_prop()
2011 if ((pvid != vnetp->pvid) || /* pvid changed? */ in vgen_update_md_prop()
2043 vnetp->pvid = pvid; in vgen_update_md_prop()
[all …]
H A Dvsw_phys.c703 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 Dvnet.c126 static void vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp);
810 is_pvid = (vnetp->pvid != vnetp->default_vlan_id) ? B_TRUE : B_FALSE; in vnet_tx_ring_send()
896 vnetp->pvid); in vnet_tx_ring_send()
1330 vnet_rx_frames_untag(uint16_t pvid, mblk_t **mp) in vnet_rx_frames_untag() argument
1348 VLAN_ID(ntohs(evhp->ether_tci)) == pvid) { in vnet_rx_frames_untag()
2621 if (vnetp->pvid != vnetp->default_vlan_id) { in vnet_rx_poll()
2622 vnet_rx_frames_untag(vnetp->pvid, &mp); in vnet_rx_poll()
2647 if (vnetp->pvid != vnetp->default_vlan_id) { in vnet_hio_rx_cb()
2648 vnet_rx_frames_untag(vnetp->pvid, &mp); in vnet_hio_rx_cb()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw.h186 uint16_t pvid; /* port vlan id (untagged) */ member
H A Dvnet.h288 uint16_t pvid; /* port vlan id (untagged) */ member
H A Dvsw_ldc.h427 uint16_t pvid; /* port vlan id (untagged) */ member
H A Dvnet_gen.h394 uint16_t pvid; /* port vlan id (untagged) */ member
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_iov_api.h442 u16 pvid, int vfid);
772 static OSAL_INLINE void ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn p_hwfn, u16 pvid, int … in ecore_iov_bulletin_set_forced_vlan() argument
H A Decore_vfpf_if.h636 u16 pvid; member
H A Drelease.txt3152 with pvid set is powered off/on.
5028 not stop the pvid traffic from vf to external
5688 8. Request: Add support for VF's pvid configuration via a new API function
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c1698 reform_vlan_header(mblk_t *mp, uint16_t vlanid, uint16_t tci, uint16_t pvid) in reform_vlan_header() argument
1719 if (!source_has_tag && vlanid == pvid) /* 1a */ in reform_vlan_header()
1724 if (vlanid != pvid) /* 1c */ in reform_vlan_header()
1781 if (mp->b_band == 0 && vlanid == pvid) { /* 3 */ in reform_vlan_header()
1791 if (vlanid == pvid) in reform_vlan_header()
1805 if (vlanid == pvid) in reform_vlan_header()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c4701 uint16_t pvid; in get_bridge_pvid() local
4713 (void) memcpy(&pvid, dip->pr_val, sizeof (pvid)); in get_bridge_pvid()
4714 (void) snprintf(*prop_val, DLADM_PROP_VAL_MAX, "%u", pvid); in get_bridge_pvid()
4729 uint16_t pvid; in set_bridge_pvid() local
4735 pvid = vdp->vd_val; in set_bridge_pvid()
4736 (void) memcpy(dip->pr_val, &pvid, sizeof (pvid)); in set_bridge_pvid()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_client.c4831 mac_set_pvid(mac_handle_t mh, uint16_t pvid) in mac_set_pvid() argument
4838 if (pvid != 0) { in mac_set_pvid()
4843 if (muip->mui_vid == pvid) { in mac_set_pvid()
4850 mip->mi_pvid = pvid; in mac_set_pvid()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq_cmd.h931 __le16 pvid; /* VLANS include priority bits */ member