/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | am65_nuss_cpsw_switchdev.rst | 65 [*] bridge vlan add dev br0 vid 1 pvid untagged self 84 bridge vlan add dev br0 vid 1 pvid untagged self <---- add cpu port to VLAN 1 93 bridge vlan add dev sw0p1 vid 100 pvid untagged master 94 bridge vlan add dev sw0p2 vid 100 pvid untagged master 99 bridge vlan add dev sw0p1 vid 100 master 100 bridge vlan add dev sw0p2 vid 100 master 101 bridge vlan add dev br0 vid 100 pvid tagged self <---- Add cpu port to VLAN100 120 bridge mdb add dev br0 port sw0p1 grp 239.1.1.1 permanent vid 100 135 bridge vlan add dev sw0p1 vid 100 pvid untagged master 136 bridge vlan add dev sw0p2 vid 100 master [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_bridge_vlan.sh | 99 bridge vlan add dev br1 vid 555 self pvid untagged 100 bridge vlan add dev $swp1 vid 555 101 bridge vlan add dev $swp1 vid 777 147 bridge vlan add dev br1 vid 555 self pvid untagged 148 bridge vlan del dev br1 vid 777 self 156 bridge vlan add dev br1 vid 777 self pvid untagged 157 bridge vlan del dev br1 vid 555 self 179 bridge vlan add dev br1 vid 333 self 181 bridge vlan del dev br1 vid 333 self
|
H A D | vxlan_symmetric.sh | 234 bridge vlan add vid 10 dev br1 self 235 bridge vlan add vid 20 dev br1 self 254 bridge vlan del vid 20 dev br1 self 255 bridge vlan del vid 10 dev br1 self 267 bridge vlan del vid 20 dev $swp2 271 bridge vlan del vid 10 dev $swp1 275 bridge vlan del vid 4001 dev vx4001 281 bridge vlan del vid 20 dev vx20 287 bridge vlan del vid 10 dev vx10 405 bridge vlan add vid 10 dev br1 self [all …]
|
H A D | vxlan_symmetric_ipv6.sh | 234 bridge vlan add vid 10 dev br1 self 235 bridge vlan add vid 20 dev br1 self 247 bridge vlan del vid 20 dev br1 self 248 bridge vlan del vid 10 dev br1 self 264 bridge vlan del vid 20 dev $swp2 268 bridge vlan del vid 10 dev $swp1 272 bridge vlan del vid 4001 dev vx4001 278 bridge vlan del vid 20 dev vx20 284 bridge vlan del vid 10 dev vx10 406 bridge vlan add vid 10 dev br1 self [all …]
|
H A D | tc_vlan_modify.sh | 48 bridge vlan add dev $swp1 vid 85 49 bridge vlan add dev $swp2 vid 65 51 bridge vlan add dev $swp2 vid 85 52 bridge vlan add dev $swp1 vid 65 63 bridge vlan del vid 65 dev $swp1 64 bridge vlan del vid 85 dev $swp2 66 bridge vlan del vid 65 dev $swp2 67 bridge vlan del vid 85 dev $swp1
|
H A D | mirror_gre_vlan_bridge_1q.sh | 96 bridge vlan add dev br1 vid 555 self 104 bridge vlan add dev $swp3 vid 555 105 bridge vlan add dev $swp2 vid 555 160 bridge vlan del dev br1 vid 555 self 164 bridge vlan add dev br1 vid 555 self 193 bridge vlan del dev $swp3 vid 555 197 bridge vlan add dev $swp3 vid 555 232 bridge vlan add dev $swp3 vid 555 pvid untagged 240 bridge vlan add dev $swp3 vid 555
|
H A D | vxlan_asymmetric_ipv6.sh | 213 bridge vlan add vid 10 dev br1 self 214 bridge vlan add vid 20 dev br1 self 226 bridge vlan del vid 20 dev br1 self 227 bridge vlan del vid 10 dev br1 self 237 bridge vlan del vid 20 dev $swp2 241 bridge vlan del vid 10 dev $swp1 245 bridge vlan del vid 20 dev vx20 251 bridge vlan del vid 10 dev vx10 338 bridge vlan add vid 10 dev w1 pvid untagged 362 bridge vlan add vid 10 dev br1 self [all …]
|
H A D | vxlan_asymmetric.sh | 213 bridge vlan add vid 10 dev br1 self 214 bridge vlan add vid 20 dev br1 self 231 bridge vlan del vid 20 dev br1 self 232 bridge vlan del vid 10 dev br1 self 242 bridge vlan del vid 20 dev $swp2 246 bridge vlan del vid 10 dev $swp1 250 bridge vlan del vid 20 dev vx20 256 bridge vlan del vid 10 dev vx10 339 bridge vlan add vid 10 dev w1 pvid untagged 363 bridge vlan add vid 10 dev br1 self [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_private.h | 214 u16 vid; member 675 bool ret = vid > 0 && vid < VLAN_VID_MASK; in br_vlan_valid_id() 704 } else if (cur->vid <= last->vid) { in br_vlan_valid_range() 839 __u16 vid); 885 u16 vid); 1341 u16 vid) in br_multicast_rcv() argument 1511 u16 *vid, u8 *state, 1554 u16 vid, u16 vid_range, 1600 *vid = 0; in br_vlan_get_tag() 1694 u16 vid) in br_vlan_find() argument [all …]
|
/openbmc/linux/net/dsa/ |
H A D | port.c | 42 .vid = vid, in dsa_port_notify_bridge_fdb_flush() 87 int err, vid; in dsa_port_msti_fast_age() local 749 u16 vid; in dsa_port_can_apply_vlan_filtering() local 986 .vid = vid, in dsa_port_fdb_add() 1009 .vid = vid, in dsa_port_fdb_del() 1029 .vid = vid, in dsa_port_host_fdb_add() 1080 .vid = vid, in dsa_port_host_fdb_del() 1126 .vid = vid, in dsa_port_lag_fdb_add() 1145 .vid = vid, in dsa_port_lag_fdb_del() 2064 .vid = vid, in dsa_port_tag_8021q_vlan_add() [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernow-k8.c | 134 u8 fid, vid; in fidvid_msr_init() local 137 vid = hi & MSR_S_HI_CURRENT_VID; in fidvid_msr_init() 206 vid, lo, STOP_GRANT_5NS); in write_new_vid() 222 if (vid != data->currvid) { in write_new_vid() 224 vid, data->currvid); in write_new_vid() 501 pst[j].vid); in check_pst_table() 805 u32 vid; in fill_powernow_table_fidvid() local 821 index = fid | (vid<<8); in fill_powernow_table_fidvid() 836 if (vid == VID_OFF) { in fill_powernow_table_fidvid() 885 u32 vid = 0; in transition_frequency_fidvid() local [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | doe.c | 62 u16 vid; member 225 doe_mb->cap_offset, task->prot.vid, task->prot.type, in pci_doe_recv_resp() 406 *vid = FIELD_GET(PCI_DOE_DATA_OBJECT_DISC_RSP_3_VID, response_pl); in pci_doe_discovery() 415 static void *pci_doe_xa_prot_entry(u16 vid, u8 prot) in pci_doe_xa_prot_entry() argument 417 return xa_mk_value((vid << 8) | prot); in pci_doe_xa_prot_entry() 427 u16 vid; in pci_doe_cache_protocols() local 430 rc = pci_doe_discovery(doe_mb, &index, &vid, &prot); in pci_doe_cache_protocols() 436 doe_mb->cap_offset, xa_idx, vid, prot); in pci_doe_cache_protocols() 439 pci_doe_xa_prot_entry(vid, prot), GFP_KERNEL); in pci_doe_cache_protocols() 560 if (entry == pci_doe_xa_prot_entry(vid, type)) in pci_doe_supports_prot() [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | global1_vtu.c | 93 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument 102 if (vid) { in mv88e6xxx_g1_vtu_vid_read() 103 *vid = val & 0xfff; in mv88e6xxx_g1_vtu_vid_read() 106 *vid |= 0x1000; in mv88e6xxx_g1_vtu_vid_read() 116 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument 118 u16 val = vid & 0xfff; in mv88e6xxx_g1_vtu_vid_write() 120 if (vid & 0x1000) in mv88e6xxx_g1_vtu_vid_write() 277 err = mv88e6xxx_g1_vtu_vid_write(chip, false, entry->vid); in mv88e6xxx_g1_vtu_getnext() 611 u16 val, vid; in mv88e6xxx_g1_vtu_prob_irq_thread_fn() local 625 err = mv88e6xxx_g1_vtu_vid_read(chip, NULL, &vid); in mv88e6xxx_g1_vtu_prob_irq_thread_fn() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_hw.h | 192 int prestera_hw_vlan_create(struct prestera_switch *sw, u16 vid); 193 int prestera_hw_vlan_delete(struct prestera_switch *sw, u16 vid); 194 int prestera_hw_vlan_port_set(struct prestera_port *port, u16 vid, 196 int prestera_hw_vlan_port_vid_set(struct prestera_port *port, u16 vid); 201 u16 vid, bool dynamic); 203 u16 vid); 205 int prestera_hw_fdb_flush_vlan(struct prestera_switch *sw, u16 vid, u32 mode); 206 int prestera_hw_fdb_flush_port_vlan(struct prestera_port *port, u16 vid, 299 const unsigned char *mac, u16 vid, bool dynamic); 301 const unsigned char *mac, u16 vid); [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | vsc9953.c | 256 u32 vid; in vsc9953_vlan_membership_show() local 263 for (vid = 0; vid < VSC9953_MAX_VLAN; vid++) { in vsc9953_vlan_membership_show() 271 vid); in vsc9953_vlan_membership_show() 286 printf("%d ", vid); in vsc9953_vlan_membership_show() 1161 if (vid != ETHSW_CMD_VLAN_ALL) { in vsc9953_mac_table_show() 1960 int vid; in vsc9953_fdb_entry_add_key_func() local 1974 vid = (parsed_cmd->vid == ETHSW_CMD_VLAN_ALL ? 1 : parsed_cmd->vid); in vsc9953_fdb_entry_add_key_func() 1976 if (!VSC9953_VLAN_CHECK(vid)) { in vsc9953_fdb_entry_add_key_func() 1989 int vid; in vsc9953_fdb_entry_del_key_func() local 1992 vid = (parsed_cmd->vid == ETHSW_CMD_VLAN_ALL ? 1 : parsed_cmd->vid); in vsc9953_fdb_entry_del_key_func() [all …]
|
/openbmc/linux/include/net/ |
H A D | ncsi.h | 34 int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid); 35 int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid); 42 static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_add_vid() argument 47 static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid) in ncsi_vlan_rx_kill_vid() argument
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | soc.c | 343 u8 vid; in get_core_volt_from_fuse() local 348 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_ALTVID_SHIFT) & in get_core_volt_from_fuse() 350 if ((vid == 0) || (vid == FSL_CHASSIS3_DCFG_FUSESR_ALTVID_MASK)) { in get_core_volt_from_fuse() 351 vid = (fusesr >> FSL_CHASSIS3_DCFG_FUSESR_VID_SHIFT) & in get_core_volt_from_fuse() 354 debug("%s: VID = 0x%x\n", __func__, vid); in get_core_volt_from_fuse() 355 switch (vid) { in get_core_volt_from_fuse() 485 u8 vid; in get_core_volt_from_fuse() local 491 if ((vid == 0) || (vid == FSL_CHASSIS2_DCFG_FUSESR_ALTVID_MASK)) { in get_core_volt_from_fuse() 492 vid = (fusesr >> FSL_CHASSIS2_DCFG_FUSESR_VID_SHIFT) & in get_core_volt_from_fuse() 495 debug("%s: VID = 0x%x\n", __func__, vid); in get_core_volt_from_fuse() [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | ingress_rif_conf_vxlan.sh | 90 bridge vlan add vid 10 dev $swp1 pvid untagged 115 bridge vlan add vid 10 dev br1 self 116 bridge vlan add vid 4001 dev br1 self 125 bridge vlan del vid 4001 dev br1 self 126 bridge vlan del vid 10 dev br1 self 136 bridge vlan del vid 10 dev $swp1 249 bridge vlan add vid 4001 dev vx4001 pvid untagged 269 bridge vlan del vid 4001 dev vx4001 pvid untagged 283 bridge vlan add vid 4001 dev vx4001 pvid untagged 300 bridge vlan del vid 4001 dev vx4001 pvid untagged
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vlan.h | 12 u16 vid; member 16 #define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio }) argument
|
/openbmc/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | tc_flower_chains.sh | 244 bridge vlan add dev $swp1 vid 200 245 bridge vlan add dev $swp1 vid 300 246 bridge vlan add dev $swp2 vid 300 268 bridge vlan del dev $swp1 vid 200 269 bridge vlan del dev $swp1 vid 300 270 bridge vlan del dev $swp2 vid 300 286 bridge vlan add dev $swp1 vid 200 287 bridge vlan add dev $swp2 vid 200 309 bridge vlan del dev $swp1 vid 200 310 bridge vlan del dev $swp2 vid 200
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz8795.c | 613 addr = vid / 4; in ksz8_r_vlan_table() 614 index = vid & 3; in ksz8_r_vlan_table() 627 addr = vid / 4; in ksz8_w_vlan_table() 628 index = vid & 3; in ksz8_w_vlan_table() 1039 if (vid) { in ksz8_add_sta_mac() 1043 alu.fid = vid; in ksz8_add_sta_mac() 1150 unsigned int vid; in ksz8_port_vlan_add() local 1156 for (vid = 1; vid < dev->info->num_vlans; ++vid) { in ksz8_port_vlan_add() 1158 if (vid == vlan->vid) in ksz8_port_vlan_add() 1190 u16 vid; in ksz8_port_vlan_add() local [all …]
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_vid.h | 23 void sti_vid_commit(struct sti_vid *vid, 25 void sti_vid_disable(struct sti_vid *vid); 29 void vid_debugfs_init(struct sti_vid *vid, struct drm_minor *minor);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge.c | 30 send_info.vid = vid; in mlx5_esw_bridge_fdb_offload_notify() 40 entry->key.vid, in mlx5_esw_bridge_fdb_del_notify() 625 vlan->vid); in mlx5_esw_bridge_ingress_flow_with_esw_create() 789 vlan->vid); in mlx5_esw_bridge_egress_flow_create() 977 entry->key.vid, in mlx5_esw_bridge_fdb_entry_refresh() 1182 vlan->vid = vid; in mlx5_esw_bridge_vlan_create() 1338 key.vid = vid; in mlx5_esw_bridge_fdb_lookup() 1369 entry->key.vid = vid; in mlx5_esw_bridge_fdb_entry_init() 1875 addr, vid, vport_num); in mlx5_esw_bridge_port_mdb_add() 1878 addr, vid, vport_num); in mlx5_esw_bridge_port_mdb_add() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.h | 446 u16 vid; member 512 unsigned int vid, 516 unsigned int vid, 520 unsigned int vid, 529 u16 vid); 533 u16 vid); 548 u16 vid, 552 u16 vid, 556 void lan966x_vlan_cpu_add_vlan(struct lan966x *lan966x, u16 vid); 557 void lan966x_vlan_cpu_del_vlan(struct lan966x *lan966x, u16 vid); [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-palmas.txt | 6 * "ti,palmas-usb-vid". 7 * "ti,twl6035-usb-vid". 8 * "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid"). 9 * "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid").
|