Searched defs:pvid (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw_switching.c999 (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 Dvnet.c125 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...]
H A Dvsw.c1786 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 Dvnet_gen.c746 (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...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw.h186 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vsw
H A Dvnet.h288 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vnet
H A Dvnet_gen.h394 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vgen_port
H A Dvsw_ldc.h427 uint16_t pvid; /* port vlan id (untagged) */ member in struct:vsw_port
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c1694 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 Dmac_client.c4639 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/lib/libdladm/common/
H A Dlinkprop.c4452 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/i40e/core/
H A Di40e_adminq_cmd.h769 __le16 pvid; /* VLANS include priority bits */ member in struct:i40e_aqc_vsi_properties_data

Completed in 121 milliseconds