Home
last modified time | relevance | path

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

123456789

/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DVLanNetworkInterfaceCollection.json93 …etworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs",
94 "/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
95 … "/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
96 …ompositionService/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
97 …locks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
98 … "/redfish/v1/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
99 …Blocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs"
102 …etworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs",
103 "/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
104 … "/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs",
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DVLanNetworkInterfaceCollection_v1.xml42 …her implementations, the collection can be pre-populated with a fixed number of available VLANs."/>
57 …dapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs</String>
58 … <String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
59 …ring>/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
60 …ionService/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
61 …ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
62 …redfish/v1/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
63 …ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
68 …dapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs</String>
69 … <String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs</String>
[all …]
H A DVLanNetworkInterface_v1.xml56 …tworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs/{VLanNetworkInterf…
57 …<String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetwo…
58 …sh/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
59 …ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
60 …ckId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
61 …ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
62 …ckId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
67 …tworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs/{VLanNetworkInterf…
68 …<String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetwo…
69 …sh/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterf…
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_vlan_mcast.sh132 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 …]
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"
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_vlan_mcast.sh132 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 …]
/openbmc/openbmc-test-automation/network/
H A Dtest_vlan_network.robot44 [Teardown] Delete VLANs [${vlan_id}]
66 Delete VLANs [${vlan_id}]
77 [Teardown] Delete VLANs [${vlan_id}]
90 [Teardown] Delete VLANs [${vlan_id}]
109 [Teardown] Delete VLANs [${vlan_id}]
114 Delete VLANs [${vlan_id}]
126 [Teardown] Delete VLANs [${vlan_id}]
144 Add Multiple VLANs Via REST And Verify
145 [Documentation] Add multiple VLANs via REST and verify them via CLI.
148 [Teardown] Delete VLANs ${vlan_ids}
[all …]
/openbmc/linux/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
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Drif_lag_vlan.sh74 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
/openbmc/linux/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()
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()
H A Dlantiq_gswip.c285 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 …]
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_common.c769 v = &dev->vlans[def_vid]; in b53_configure_vlan()
777 /* Upon initial call we have not set-up any VLANs, but upon in b53_configure_vlan()
781 v = &dev->vlans[vid]; in b53_configure_vlan()
897 /* reset vlans */ in b53_reset_switch()
898 memset(priv->vlans, 0, sizeof(*priv->vlans) * priv->num_vlans); in b53_reset_switch()
1067 vl = &dev->vlans[i]; in b53_devlink_vlan_table_get()
1110 * which forces the CPU port to be tagged in all VLANs. in b53_setup()
1518 vl = &dev->vlans[vlan->vid]; in b53_vlan_add()
1554 vl = &dev->vlans[vlan->vid]; in b53_vlan_del()
1908 /* Make this port leave the all VLANs join since we will have proper in b53_br_join()
[all …]
/openbmc/linux/net/dsa/
H A Dtag_8021q.c75 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()
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/
H A Dam65_nuss_cpsw_switchdev.rst88 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
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
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_fcs.c454 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 …]
/openbmc/linux/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
/openbmc/linux/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.
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vf_vsi_vlan_ops.c161 * 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()
H A Dice_eswitch_br.c318 vlan = xa_load(&port->vlans, vid); in ice_esw_br_port_vlan_lookup()
639 xa_erase(&port->vlans, vlan->vid); in ice_eswitch_br_vlan_cleanup()
650 xa_for_each(&port->vlans, index, vlan) in ice_eswitch_br_port_vlans_flush()
719 err = xa_insert(&port->vlans, vlan->vid, vlan, GFP_KERNEL); in ice_eswitch_br_vlan_create()
748 "Port VLAN (vsi=%u, vid=%d) exists on the port, remove it to add trunk VLANs\n", in ice_eswitch_br_port_vlan_add()
753 vlan = xa_load(&port->vlans, vid); in ice_eswitch_br_port_vlan_add()
781 vlan = xa_load(&port->vlans, vid); in ice_eswitch_br_port_vlan_del()
918 xa_init(&br_port->vlans); in ice_eswitch_br_port_init()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c204 ethsw->vlans[vid] = ETHSW_VLAN_MEMBER; in dpaa2_switch_add_vlan()
265 port_priv->vlans[port_priv->pvid] &= ~ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
266 port_priv->vlans[pvid] |= ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
291 if (port_priv->vlans[vid]) { in dpaa2_switch_port_add_vlan()
309 port_priv->vlans[vid] = ETHSW_VLAN_MEMBER; in dpaa2_switch_port_add_vlan()
320 port_priv->vlans[vid] |= ETHSW_VLAN_UNTAGGED; in dpaa2_switch_port_add_vlan()
361 if (port_priv->vlans[vid] & ETHSW_VLAN_MEMBER) { in dpaa2_switch_port_set_stp_state()
384 if (!ethsw->vlans[vid]) in dpaa2_switch_dellink()
392 ethsw->vlans[vid] = 0; in dpaa2_switch_dellink()
397 ppriv_local->vlans[vid] = 0; in dpaa2_switch_dellink()
[all …]
/openbmc/linux/Documentation/networking/
H A Dswitchdev.rst90 level constructs such as bridges, bonds, VLANs, tunnels, and L3 routers. Using
156 L2 networks. VLANs can be applied to sub-divide L2 networks. L2-over-L3
178 - Notification of learned/forgotten src mac/vlans from device
226 Notification of Learned/Forgotten Source MAC/VLANs
303 Note that STP BDPUs are untagged and STP state applies to all VLANs on the port
305 VLANs on the port.
438 When configuring VLANs on top of the network device, all VLANs must be working,
/openbmc/linux/drivers/net/
H A Dmacvlan.c46 struct list_head vlans; member
499 vlan = list_first_or_null_rcu(&port->vlans, in macvlan_handle_frame()
1260 INIT_LIST_HEAD(&port->vlans); in macvlan_port_create()
1554 list_add_tail_rcu(&vlan->list, &port->vlans); in macvlan_common_newlink()
1779 list_for_each_entry(vlan, &port->vlans, list) { in update_port_bc_queue_len()
1803 list_for_each_entry(vlan, &port->vlans, list) in macvlan_device_event()
1808 list_for_each_entry(vlan, &port->vlans, list) { in macvlan_device_event()
1814 list_for_each_entry(vlan, &port->vlans, list) { in macvlan_device_event()
1824 vlan = list_first_entry_or_null(&port->vlans, in macvlan_device_event()
1837 list_for_each_entry_safe(vlan, next, &port->vlans, list) in macvlan_device_event()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs.c174 u16 *vlans; in mlx5e_vport_context_update_vlans() local
186 …fs_warn(fs, "netdev vlans list size (%d) > (%d) max vport list size, some vlans will be dropped\n", in mlx5e_vport_context_update_vlans()
191 vlans = kvcalloc(list_size, sizeof(*vlans), GFP_KERNEL); in mlx5e_vport_context_update_vlans()
192 if (!vlans) in mlx5e_vport_context_update_vlans()
199 vlans[i++] = vlan; in mlx5e_vport_context_update_vlans()
202 err = mlx5_modify_nic_vport_vlans(fs->mdev, vlans, list_size); in mlx5e_vport_context_update_vlans()
204 fs_err(fs, "Failed to modify vport vlans list err(%d)\n", in mlx5e_vport_context_update_vlans()
207 kvfree(vlans); in mlx5e_vport_context_update_vlans()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-net.h42 * The maximum number of VLANs in the VLAN filter table
201 uint32_t *vlans; member

123456789