/freebsd/sys/netgraph/ |
H A D | ng_vlan_rotate.c | 308 * Receive data, and do rotate the vlans as desired. 311 * of vlans are not relativly prime. In this case multiple slices need 315 * 01234 5 vlans given 378 int8_t vlans = 0; in ng_vlanrotate_rcvdata() local 399 /* count the vlans */ in ng_vlanrotate_rcvdata() 400 for (vlans = 0; vlans <= NG_VLANROTATE_MAX_VLANS; vlans++) { in ng_vlanrotate_rcvdata() 402 + vlans * sizeof(struct ether_vlan_stack_entry); in ng_vlanrotate_rcvdata() 413 switch (ntohs(evsh->vlan_stack[vlans].proto)) { in ng_vlanrotate_rcvdata() 425 if ((vlans > vrp->conf.max) || (vlans >= NG_VLANROTATE_MAX_VLANS)) { in ng_vlanrotate_rcvdata() 431 if ((vlans < vrp->conf.min) || (vlans <= abs(rotate))) { in ng_vlanrotate_rcvdata() [all …]
|
/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | ip175c.c | 126 uint32_t vlans[IP17X_MAX_VLANS]; in ip175c_dot1q_vlan_setup() local 147 memset(vlans, 0, sizeof(vlans)); in ip175c_dot1q_vlan_setup() 152 vlans[v->vlanid & ETHERSWITCH_VID_MASK] = v->ports; in ip175c_dot1q_vlan_setup() 156 data = vlans[j++] & 0x3f; in ip175c_dot1q_vlan_setup() 157 data |= (vlans[j++] & 0x3f) << 8; in ip175c_dot1q_vlan_setup() 215 /* Reset vlans. */ in ip175c_set_vlan_mode()
|
H A D | ip17x_vlans.c | 56 * Reset vlans to default state. 74 /* Initialize port based vlans. */ in ip17x_reset_vlans()
|
H A D | ip175d.c | 152 * VLAN classification rules: tag-based VLANs, in ip175d_set_vlan_mode() 187 /* Reset vlans. */ in ip175d_set_vlan_mode()
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw.c | 159 /* Enable VLANs by default */ in ar40xx_hw_vlan_init() 219 * VLANs, or just straight up per-port VLANs. in ar40xx_hw_sw_hw_apply() 222 device_printf(sc->sc_dev, "%s: configuring 802.1q VLANs\n", in ar40xx_hw_sw_hw_apply() 246 device_printf(sc->sc_dev, "%s: configuring per-port VLANs\n", in ar40xx_hw_sw_hw_apply()
|
H A D | ar40xx_var.h | 101 /* Whether 802.1q VLANs are enabled or not */
|
/freebsd/share/man/man4/ |
H A D | vlan.4 | 53 multiple VLANs through a single switch trunk port. 104 help in processing VLANs. 146 Other Ethernet interfaces can run VLANs using software emulation in the
|
H A D | ng_vlan_rotate.4 | 68 If it contains fewer VLANs in the stack than the configured 76 If there are more VLANs in the stack than the configured 106 VLANs in the stack.
|
H A D | ix.4 | 70 This driver version supports VLANs. 71 For information on enabling VLANs, see
|
H A D | ice.4 | 88 This driver version supports VLANs. 89 For information on enabling VLANs, see the
|
H A D | igc.4 | 44 For information on enabling VLANs, see
|
/freebsd/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_vlans.c | 147 /* For port based vlans the vlanid is the same as the port index. */ in ar8xxx_get_port_vlan() 161 /* For port based vlans the vlanid is the same as the port index. */ in ar8xxx_set_port_vlan() 172 * Reset vlans to default state. 231 /* Initialize the port based vlans. */ in ar8xxx_reset_vlans() 248 /* Disable the ingress filter and get everyone on all vlans. */ in ar8xxx_reset_vlans()
|
/freebsd/sys/net/ |
H A D | if_vlan.c | 104 struct ifvlan *vlans[VLAN_ARRAY_SIZE]; /* static table */ member 135 if (((_ifv) = (_trunk)->vlans[_i]) != NULL) 146 * also modifying the number of vlans on the trunk. The iteration continues 147 * until some condition is met or there are no more vlans on the trunk. 154 if (((_ifv) = (_trunk)->vlans[_i])) 158 * modified (i.e. vlans removed) while we are iterating over it. To allow for 225 * modification of vlan interfaces and (mostly) allow for vlans to be destroyed 447 * Grow the hash when the number of vlans exceeds half of the number of in vlan_inshash() 566 return trunk->vlans[vid]; in vlan_gethash() 573 if (trunk->vlans[ifv->ifv_vid] != NULL) in vlan_inshash() [all …]
|
/freebsd/sys/dev/etherswitch/felix/ |
H A D | felix.c | 563 sc->vlans[i] = 0; in felix_init_vlan() 826 FELIX_WR4(sc, FELIX_ANA_VTIDX, sc->vlans[vg->es_vlangroup]); in felix_set_dot1q_vlan() 828 sc->vlans[vg->es_vlangroup] = 0; in felix_set_dot1q_vlan() 834 if (i != vg->es_vlangroup && vid == sc->vlans[i]) in felix_set_dot1q_vlan() 838 if (sc->vlans[vg->es_vlangroup] != 0 && in felix_set_dot1q_vlan() 839 sc->vlans[vg->es_vlangroup] != vid) in felix_set_dot1q_vlan() 842 sc->vlans[vg->es_vlangroup] = vid; in felix_set_dot1q_vlan() 890 vid = sc->vlans[vg->es_vlangroup]; in felix_get_dot1q_vlan()
|
H A D | felix_var.h | 104 int vlans[FELIX_NUM_VLANS]; member
|
/freebsd/sys/dev/mlx5/ |
H A D | vport.h | 111 u16 vlans[], 114 u16 vlans[],
|
/freebsd/sys/dev/etherswitch/e6000sw/ |
H A D | e6000sw.c | 93 int vlans[E6000SW_NUM_VLANS]; member 1105 for (i = 0; i < nitems(sc->vlans); i++) 1106 sc->vlans[i] = 0; 1110 sc->vlans[0] = 1; 1111 e6000sw_vtu_update(sc, 0, sc->vlans[0], 1, 0, sc->ports_mask); 1252 sc->vlans[vg->es_vlangroup], 0, 0, 0); 1253 sc->vlans[vg->es_vlangroup] = 0; 1259 if (i != vg->es_vlangroup && vlan == sc->vlans[i]) 1262 sc->vlans[vg->es_vlangroup] = vlan; 1317 vg->es_vid = sc->vlans[vg->es_vlangroup];
|
/freebsd/contrib/wpa/hostapd/ |
H A D | hostapd.accept | 3 # MAC address if dynamic VLANs (hostapd.conf dynamic_vlan option) are used.
|
H A D | defconfig | 201 # Remove support for VLANs 204 # Enable support for fully dynamic VLANs. This enables hostapd to
|
/freebsd/sys/dts/arm/ |
H A D | qcom-ipq4019-ethernet.dtsi | 201 * When 802.1q VLANs are not used the switch 207 * When 802.1q VLANs are used then it's both
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 618 u16 *vlans; in mlx5e_vport_context_update_vlans() local 631 "ifnet vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans() 636 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans() 637 if (!vlans) in mlx5e_vport_context_update_vlans() 644 vlans[i++] = vlan; in mlx5e_vport_context_update_vlans() 647 err = mlx5_modify_nic_vport_vlans(priv->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans() 649 mlx5_en_err(ifp, "Failed to modify vport vlans list err(%d)\n", in mlx5e_vport_context_update_vlans() 652 kfree(vlans); in mlx5e_vport_context_update_vlans()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_sriov.h | 121 /* Shadow copy of all guest vlans */ 122 struct ecore_vf_vlan_shadow vlans[ECORE_ETH_VF_NUM_VLAN_FILTERS + 1]; member
|
/freebsd/tests/sys/netgraph/ |
H A D | vlan_rotate.c | 105 /* reduce the number of vlans */ in _basic() 286 /* reduce the number of vlans */ in ATF_TC_BODY()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_sriov.h | 48 #define IXGBE_VF_CAP_VLAN (1 << 2) /* VF is permitted to join vlans. */
|
/freebsd/sys/dev/ice/ |
H A D | virtchnl.h | 1029 * VLANs, the VF would populate the virtchnl_vlan_setting structure in the 1063 * In order to enable outer VLAN stripping for 0x8100 and 0x88a8 VLANs, the VF 1095 * In order to enable outer VLAN stripping for 0x88a8 VLANs, the VF would 1131 * In order to enable outer VLAN filtering for 0x88a8 and 0x8100 VLANs (0x9100 1132 * VLANs aren't supported by the VF driver), the VF would populate the 1135 * to disable outer VLAN filtering for 0x88a8 and 0x8100 VLANs, but the
|