Home
last modified time | relevance | path

Searched full:vlans (Results 1 – 25 of 150) sorted by relevance

123456

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dtc_vlan_modify.sh108 check_fail $? "ping between two different vlans passed when should not"
111 check_fail $? "ping6 between two different vlans passed when should not"
119 check_err $? "ping between two different vlans failed when should not"
122 check_err $? "ping6 between two different vlans failed when should not"
135 check_fail $? "ping between two different vlans passed when should not"
138 check_fail $? "ping6 between two different vlans passed when should not"
146 check_err $? "ping between two different vlans failed when should not"
149 check_err $? "ping6 between two different vlans failed when should not"
/OK3568_Linux_fs/kernel/Documentation/networking/devlink/
H A Dsja1105.rst33 7 non-pvid VLANs per user port).
41 - User cannot use VLANs in range 1024-3071. If the
46 - When VLANs span cross-chip topologies, the total
47 number of permitted VLANs may be less than 7 per
/OK3568_Linux_fs/kernel/drivers/net/dsa/
H A Ddsa_loop.c41 for (i = 0; i < ARRAY_SIZE(ps->vlans); i++) { in dsa_loop_devlink_vtu_get()
42 vl = &ps->vlans[i]; in dsa_loop_devlink_vtu_get()
56 devlink_resource_size_params_init(&size_params, ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources()
57 ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources()
60 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources()
215 if (vlan->vid_end > ARRAY_SIZE(ps->vlans)) in dsa_loop_port_vlan_prepare()
235 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_add()
264 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_del()
H A Dlantiq_gswip.c273 struct gswip_vlan vlans[64]; member
901 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_active_create()
902 if (!priv->vlans[i].bridge) { in gswip_vlan_active_create()
926 priv->vlans[idx].bridge = bridge; in gswip_vlan_active_create()
927 priv->vlans[idx].vid = vid; in gswip_vlan_active_create()
928 priv->vlans[idx].fid = fid; in gswip_vlan_active_create()
944 priv->vlans[idx].bridge = NULL; in gswip_vlan_active_remove()
961 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_unaware()
962 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_unaware()
1024 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_aware()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c41 ethsw->vlans[vid] = ETHSW_VLAN_MEMBER; in dpaa2_switch_add_vlan()
102 port_priv->vlans[port_priv->pvid] &= ~ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
103 port_priv->vlans[pvid] |= ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
128 if (port_priv->vlans[vid]) { in dpaa2_switch_port_add_vlan()
141 port_priv->vlans[vid] = ETHSW_VLAN_MEMBER; in dpaa2_switch_port_add_vlan()
152 port_priv->vlans[vid] |= ETHSW_VLAN_UNTAGGED; in dpaa2_switch_port_add_vlan()
214 if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) { in dpaa2_switch_port_set_stp_state()
237 if (!ethsw->vlans[vid]) in dpaa2_switch_dellink()
245 ethsw->vlans[vid] = 0; in dpaa2_switch_dellink()
249 ppriv_local->vlans[vid] = 0; in dpaa2_switch_dellink()
[all …]
H A Dethsw.h55 u8 vlans[VLAN_VID_MASK + 1]; member
71 u8 vlans[VLAN_VID_MASK + 1]; member
H A Ddpsw.h142 * @max_vlans: Maximum Number of VLANs
153 * @num_vlans: Current number of VLANs
261 * allowing up to 4,094 VLANs
/OK3568_Linux_fs/kernel/net/8021q/
H A DKconfig13 the 'ip' utility in order to effectively use VLANs.
28 automatic propagation of registered VLANs to switches.
38 automatic propagation of registered VLANs to switches; it
H A Dvlan.c132 pr_info("VLANs not supported on %s\n", name); in vlan_check_real_dev()
133 NL_SET_ERR_MSG_MOD(extack, "VLANs not supported on device"); in vlan_check_real_dev()
436 /* Put all VLANs for this dev in the down state too. */ in vlan_device_event()
458 /* Put all VLANs for this dev in the up state too. */ in vlan_device_event()
/OK3568_Linux_fs/kernel/drivers/net/dsa/b53/
H A Db53_common.c717 /* Upon initial call we have not set-up any VLANs, but upon in b53_configure_vlan()
721 v = &dev->vlans[vid]; in b53_configure_vlan()
837 /* reset vlans */ in b53_reset_switch()
838 memset(priv->vlans, 0, sizeof(*priv->vlans) * priv->num_vlans); in b53_reset_switch()
1007 vl = &dev->vlans[i]; in b53_devlink_vlan_table_get()
1434 vl = &dev->vlans[vid]; in b53_vlan_add()
1471 vl = &dev->vlans[vid]; in b53_vlan_del()
1816 /* Make this port leave the all VLANs join since we will have proper in b53_br_join()
1859 struct b53_vlan *vl = &dev->vlans[0]; in b53_br_leave()
1886 /* Make this port join all VLANs without VLAN entries */ in b53_br_leave()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/fnic/
H A Dfnic_fcs.c464 list_add_tail(&vlan->list, &fnic->vlans); in fnic_fcoe_process_vlan_resp()
472 if (list_empty(&fnic->vlans)) { in fnic_fcoe_process_vlan_resp()
481 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_process_vlan_resp()
503 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_start_fcf_disc()
522 if (list_empty(&fnic->vlans)) { in fnic_fcoe_vlan_check()
527 fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_vlan_check()
1314 if (!list_empty(&fnic->vlans)) { in fnic_fcoe_reset_vlans()
1315 list_for_each_entry_safe(vlan, next, &fnic->vlans, list) { in fnic_fcoe_reset_vlans()
1341 if (list_empty(&fnic->vlans)) { in fnic_handle_fip_timer()
1343 /* no vlans available, try again */ in fnic_handle_fip_timer()
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/dsa/
H A Db53.rst50 The b53 tags the CPU port in all VLANs, since otherwise any PVID untagged
99 # configure the VLANs
178 # configure the VLANs
H A Dsja1105.rst78 format based on VLANs), general-purpose traffic termination through the network
96 to 4094), so is the number of usable VIDs (maximum of 7 non-pvid VLANs per
128 # Cannot use VLANs in range 1024-3071 while in Mode 3.
152 # Cannot use mode than 7 VLANs per port while in Mode 3.
155 \* "maximum of 7 non-pvid VLANs per port": Decoding VLAN-tagged packets on the
245 - 8 retagging entries for VLANs 1 and 100 installed on its user ports
254 - 7 retagging entries for the bridge VLANs on its user ports (``sw2p0`` -
/OK3568_Linux_fs/buildroot/package/hostapd/
H A DConfig.in90 Enable support for VLANs.
98 Enable support for fully dynamic VLANs.
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dswitchdev.rst89 level constructs such as bridges, bonds, VLANs, tunnels, and L3 routers. Using
155 L2 networks. VLANs can be applied to sub-divide L2 networks. L2-over-L3
177 - Notification of learned/forgotten src mac/vlans from device
202 Notification of Learned/Forgotten Source MAC/VLANs
279 Note that STP BDPUs are untagged and STP state applies to all VLANs on the port
281 VLANs on the port.
H A Dnetdev-features.rst87 care must be taken as the change won't affect already configured VLANs.
162 VLANs. This may be not useful, though.]
/OK3568_Linux_fs/kernel/drivers/net/
H A Dmacvlan.c46 struct list_head vlans; member
485 vlan = list_first_or_null_rcu(&port->vlans, in macvlan_handle_frame()
1215 INIT_LIST_HEAD(&port->vlans); in macvlan_port_create()
1498 list_add_tail_rcu(&vlan->list, &port->vlans); in macvlan_common_newlink()
1710 list_for_each_entry(vlan, &port->vlans, list) in macvlan_device_event()
1715 list_for_each_entry(vlan, &port->vlans, list) { in macvlan_device_event()
1722 list_for_each_entry(vlan, &port->vlans, list) { in macvlan_device_event()
1732 vlan = list_first_entry_or_null(&port->vlans, in macvlan_device_event()
1745 list_for_each_entry_safe(vlan, next, &port->vlans, list) in macvlan_device_event()
1756 /* Propagate to all vlans */ in macvlan_device_event()
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/intel/
H A Dixgbevf.rst52 VLANs: There is a limit of a total of 64 shared VLANs to 1 or more VFs.
H A De100.rst31 - Native VLANs
176 in different switches or in a switch partitioned to VLANs).
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/ti/
H A Dcpsw_switchdev.rst138 Add extra VLANs
161 bridge fdb add aa:bb:cc:dd:ee:fe dev sw0p2 master <---- Add on all VLANs
171 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent <---- Add on all VLANs
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c116 u16 *vlans; in mlx5e_vport_context_update_vlans() local
129 "netdev vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans()
134 vlans = kcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans()
135 if (!vlans) in mlx5e_vport_context_update_vlans()
142 vlans[i++] = vlan; in mlx5e_vport_context_update_vlans()
145 err = mlx5_modify_nic_vport_vlans(priv->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans()
147 netdev_err(ndev, "Failed to modify vport vlans list err(%d)\n", in mlx5e_vport_context_update_vlans()
150 kfree(vlans); in mlx5e_vport_context_update_vlans()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_action.c370 struct dr_action_vlan_info vlans; member
430 for (i = 0; i < attr->vlans.count; i++) { in dr_actions_apply_tx()
438 attr->vlans.headers[i], in dr_actions_apply_tx()
494 for (i = 0; i < attr->vlans.count; i++) { in dr_actions_apply_rx()
760 attr.vlans.count++; in mlx5dr_actions_build_ste_arr()
764 if (attr.vlans.count == MAX_VLANS) in mlx5dr_actions_build_ste_arr()
767 attr.vlans.headers[attr.vlans.count++] = action->push_vlan.vlan_hdr; in mlx5dr_actions_build_ste_arr()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.VLAN1 U-Boot has networking support for VLANs (802.1q), and CDP (Cisco
/OK3568_Linux_fs/kernel/include/linux/dsa/
H A Dloop.h36 struct dsa_loop_vlan vlans[VLAN_N_VID]; member
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_vlan.c664 /* It was only kept for port vlans, now make it real */ in br_vlan_add_existing()
877 /* Add VLANs for the new proto to the device filter. */ in __br_vlan_set_proto()
894 /* Delete VLANs for the old proto from the device filter. */ in __br_vlan_set_proto()
954 /* allow to change the option if there are no port vlans configured */ in br_vlan_set_stats_per_port()
1843 /* advance number of filled vlans */ in br_vlan_dump_dev()
2045 int err, vlans = 0; in br_vlan_rtm_process() local
2068 vlans++; in br_vlan_rtm_process()
2074 if (!vlans) { in br_vlan_rtm_process()
2075 NL_SET_ERR_MSG_MOD(extack, "No vlans found to process"); in br_vlan_rtm_process()

123456