| /kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
| D | bridge_vlan_mcast.sh | 132 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 138 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_snooping == 1) " &>/dev/null 225 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 229 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_querier == 0) " &>/dev/null 255 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 259 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_igmp_version == 2) " &>/dev/null 265 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_mld_version == 1) " &>/dev/null 298 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 302 jq -e ".[].vlans[] | select(.vlan == 10 and \ 309 jq -e ".[].vlans[] | select(.vlan == 10 and \ [all …]
|
| D | tc_vlan_modify.sh | 108 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"
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/ |
| D | bridge_vlan_mcast.sh | 132 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 138 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_snooping == 1) " &>/dev/null 225 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 229 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_querier == 0) " &>/dev/null 255 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 259 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_igmp_version == 2) " &>/dev/null 265 jq -e ".[].vlans[] | select(.vlan == 10 and .mcast_mld_version == 1) " &>/dev/null 298 jq -e ".[].vlans[] | select(.vlan == 10)" &>/dev/null 302 jq -e ".[].vlans[] | select(.vlan == 10 and \ 309 jq -e ".[].vlans[] | select(.vlan == 10 and \ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
| D | tc_vlan_modify.sh | 108 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"
|
| /kernel/linux/linux-5.10/Documentation/networking/devlink/ |
| D | sja1105.rst | 33 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
|
| /kernel/linux/linux-6.6/net/8021q/ |
| D | Kconfig | 13 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
|
| /kernel/linux/linux-5.10/net/8021q/ |
| D | Kconfig | 13 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
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | rif_lag_vlan.sh | 74 log_test "Add RIFs for LAG VLANs on address addition" 90 log_test "Drop RIFs for LAG VLANs on port deslavement" 108 log_test "Add RIFs for LAG VLANs on port reenslavement" 124 # Removing the port from LAG should drop two RIFs for the LAG VLANs (as
|
| /kernel/linux/linux-6.6/drivers/net/dsa/ |
| D | dsa_loop.c | 41 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() 214 if (vlan->vid >= ARRAY_SIZE(ps->vlans)) in dsa_loop_port_vlan_add() 220 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_add() 249 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_del()
|
| D | lantiq_gswip.c | 285 struct gswip_vlan vlans[64]; member 919 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_active_create() 920 if (!priv->vlans[i].bridge) { in gswip_vlan_active_create() 944 priv->vlans[idx].bridge = bridge; in gswip_vlan_active_create() 945 priv->vlans[idx].vid = vid; in gswip_vlan_active_create() 946 priv->vlans[idx].fid = fid; in gswip_vlan_active_create() 962 priv->vlans[idx].bridge = NULL; in gswip_vlan_active_remove() 979 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_unaware() 980 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_unaware() 1042 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_aware() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ |
| D | dsa_loop.c | 41 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()
|
| D | lantiq_gswip.c | 273 struct gswip_vlan vlans[64]; member 896 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_active_create() 897 if (!priv->vlans[i].bridge) { in gswip_vlan_active_create() 921 priv->vlans[idx].bridge = bridge; in gswip_vlan_active_create() 922 priv->vlans[idx].vid = vid; in gswip_vlan_active_create() 923 priv->vlans[idx].fid = fid; in gswip_vlan_active_create() 939 priv->vlans[idx].bridge = NULL; in gswip_vlan_active_remove() 956 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_unaware() 957 if (priv->vlans[i].bridge == bridge) { in gswip_vlan_add_unaware() 1019 for (i = max_ports; i < ARRAY_SIZE(priv->vlans); i++) { in gswip_vlan_add_aware() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/ |
| D | ethsw.c | 41 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 …]
|
| D | ethsw.h | 55 u8 vlans[VLAN_VID_MASK + 1]; member 71 u8 vlans[VLAN_VID_MASK + 1]; member
|
| /kernel/linux/linux-6.6/drivers/net/dsa/b53/ |
| D | b53_common.c | 780 v = &dev->vlans[def_vid]; in b53_configure_vlan() 788 /* Upon initial call we have not set-up any VLANs, but upon in b53_configure_vlan() 792 v = &dev->vlans[vid]; in b53_configure_vlan() 909 /* reset vlans */ in b53_reset_switch() 910 memset(priv->vlans, 0, sizeof(*priv->vlans) * priv->num_vlans); in b53_reset_switch() 1079 vl = &dev->vlans[i]; in b53_devlink_vlan_table_get() 1122 * which forces the CPU port to be tagged in all VLANs. in b53_setup() 1526 vl = &dev->vlans[vlan->vid]; in b53_vlan_add() 1562 vl = &dev->vlans[vlan->vid]; in b53_vlan_del() 1916 /* Make this port leave the all VLANs join since we will have proper in b53_br_join() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
| D | b53_common.c | 717 /* 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 …]
|
| /kernel/linux/linux-6.6/net/dsa/ |
| D | tag_8021q.c | 75 struct list_head vlans; member 135 list_for_each_entry(v, &ctx->vlans, list) in dsa_tag_8021q_vlan_find() 174 list_add_tail(&v->list, &ctx->vlans); in dsa_port_do_tag_8021q_vlan_add() 269 /* There are 2 ways of offloading tag_8021q VLANs. 282 * have tag_8021q VLANs appended, just bridge VLANs. 427 INIT_LIST_HEAD(&ctx->vlans); in dsa_tag_8021q_register() 450 list_for_each_entry_safe(v, n, &ctx->vlans, list) { in dsa_tag_8021q_unregister()
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/ti/ |
| D | am65_nuss_cpsw_switchdev.rst | 88 Add extra VLANs 111 bridge fdb add aa:bb:cc:dd:ee:fe dev sw0p2 master <---- Add on all VLANs 121 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent <---- Add on all VLANs
|
| /kernel/linux/linux-5.10/drivers/scsi/fnic/ |
| D | fnic_fcs.c | 464 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 …]
|
| /kernel/linux/linux-6.6/drivers/scsi/fnic/ |
| D | fnic_fcs.c | 454 list_add_tail(&vlan->list, &fnic->vlans); in fnic_fcoe_process_vlan_resp() 462 if (list_empty(&fnic->vlans)) { in fnic_fcoe_process_vlan_resp() 471 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_process_vlan_resp() 493 vlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_start_fcf_disc() 512 if (list_empty(&fnic->vlans)) { in fnic_fcoe_vlan_check() 517 fvlan = list_first_entry(&fnic->vlans, struct fcoe_vlan, list); in fnic_fcoe_vlan_check() 1304 if (!list_empty(&fnic->vlans)) { in fnic_fcoe_reset_vlans() 1305 list_for_each_entry_safe(vlan, next, &fnic->vlans, list) { in fnic_fcoe_reset_vlans() 1331 if (list_empty(&fnic->vlans)) { in fnic_handle_fip_timer() 1333 /* no vlans available, try again */ in fnic_handle_fip_timer() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/dsa/ |
| D | b53.rst | 50 The b53 tags the CPU port in all VLANs, since otherwise any PVID untagged 99 # configure the VLANs 178 # configure the VLANs
|
| /kernel/linux/linux-5.10/Documentation/networking/dsa/ |
| D | b53.rst | 50 The b53 tags the CPU port in all VLANs, since otherwise any PVID untagged 99 # configure the VLANs 178 # configure the VLANs
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/intel/ |
| D | ixgbevf.rst | 52 VLANs: There is a limit of a total of 64 shared VLANs to 1 or more VFs.
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/intel/ |
| D | ixgbevf.rst | 52 VLANs: There is a limit of a total of 64 shared VLANs to 1 or more VFs.
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_vf_vsi_vlan_ops.c | 161 * initializes software only VLAN mode (i.e. allow all VLANs). Also, use no-op 181 /* Rx VLAN filtering always disabled to allow software offloaded VLANs in ice_vf_vsi_cfg_dvm_legacy_vlan_mode() 189 /* Tx VLAN filtering always disabled to allow software offloaded VLANs in ice_vf_vsi_cfg_dvm_legacy_vlan_mode()
|