Searched refs:port_vlan (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_switchdev.c | 246 return port_vlan; in prestera_port_vlan_by_vid() 259 if (port_vlan) in prestera_port_vlan_create() 266 port_vlan = kzalloc(sizeof(*port_vlan), GFP_KERNEL); in prestera_port_vlan_create() 267 if (!port_vlan) { in prestera_port_vlan_create() 272 port_vlan->port = port; in prestera_port_vlan_create() 273 port_vlan->vid = vid; in prestera_port_vlan_create() 277 return port_vlan; in prestera_port_vlan_create() 425 if (port_vlan->br_port) in prestera_port_vlan_destroy() 430 kfree(port_vlan); in prestera_port_vlan_destroy() 1417 if (port_vlan && port_vlan->br_port != br_port) in prestera_bridge_port_vlan_add() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/ |
A D | bridge_mdb_max.sh | 464 test_ngroups_reporting cfg4 port_vlan "dev $swp1 vid 10" 469 test_ngroups_reporting ctl4 port_vlan "dev $swp1 vid 10" 474 test_ngroups_reporting cfg6 port_vlan "dev $swp1 vid 10" 479 test_ngroups_reporting ctl6 port_vlan "dev $swp1 vid 10" 624 test_maxgroups_zero cfg4 port_vlan "dev $swp1 vid 10" 629 test_maxgroups_zero ctl4 port_vlan "dev $swp1 vid 10" 634 test_maxgroups_zero cfg6 port_vlan "dev $swp1 vid 10" 639 test_maxgroups_zero ctl6 port_vlan "dev $swp1 vid 10" 820 test_maxgroups_too_low cfg4 port_vlan "dev $swp1 vid 10" 825 test_maxgroups_too_low ctl4 port_vlan "dev $swp1 vid 10" [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw_new.c | 132 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_set_mc() 462 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid() 518 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_init_host_port_switch() 595 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_dual_emac_def_ale_entries() 604 ALE_SECURE, slave->port_vlan); in cpsw_port_add_dual_emac_def_ale_entries() 637 port_mask, ALE_VLAN, slave->port_vlan, in cpsw_port_add_switch_def_ale_entries() 644 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_switch_def_ale_entries() 990 vid = cpsw->slaves[slave_no].port_vlan; in cpsw_ndo_set_mac_address() 1033 vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_kill_vid() 1672 slave->port_vlan = vlan; in cpsw_dl_switch_mode_set() [all …]
|
A D | cpsw.c | 187 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc() 548 slave_write(slave, slave->port_vlan, CPSW1_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries() 550 slave_write(slave, slave->port_vlan, CPSW2_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries() 551 cpsw_ale_add_vlan(cpsw->ale, slave->port_vlan, port_mask, in cpsw_add_dual_emac_def_ale_entries() 554 ALE_PORT_HOST, ALE_VLAN, slave->port_vlan, 0); in cpsw_add_dual_emac_def_ale_entries() 557 ALE_SECURE, slave->port_vlan); in cpsw_add_dual_emac_def_ale_entries() 660 writel(vlan, &cpsw->host_port_regs->port_vlan); in cpsw_add_default_vlan() 976 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_ndo_set_mac_address() 1065 if (vid == cpsw->slaves[i].port_vlan) { in cpsw_ndo_vlan_rx_add_vid() 1097 if (vid == cpsw->slaves[i].port_vlan) in cpsw_ndo_vlan_rx_kill_vid()
|
A D | am65-cpsw-nuss.h | 39 int port_vlan; member
|
A D | netcp_ethss.c | 255 u32 port_vlan; member 269 u32 port_vlan; member 395 u32 port_vlan; member 423 u32 port_vlan; member 582 u32 port_vlan; member 594 u16 port_vlan; member 609 u32 port_vlan; member 615 u16 port_vlan; member 3056 GBE_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave() 3073 GBENU_SET_REG_OFS(slave, port_regs, port_vlan); in init_slave() [all …]
|
A D | am65-cpsw-nuss.c | 2413 writel(slave->port_vlan, port->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_init_port_emac_ale() 2425 HOST_PORT_NUM, ALE_SECURE, slave->port_vlan); in am65_cpsw_init_port_emac_ale() 2427 port_mask, ALE_VLAN, slave->port_vlan, ALE_MCAST_FWD_2); in am65_cpsw_init_port_emac_ale() 2441 slave->port_vlan); in am65_cpsw_init_port_switch_ale() 2446 port_mask, ALE_VLAN, slave->port_vlan, in am65_cpsw_init_port_switch_ale() 2449 writel(slave->port_vlan, port->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_init_port_switch_ale() 2501 slave->port_vlan = cpsw->default_vlan; in am65_cpsw_dl_switch_mode_set() 2503 slave->port_vlan = 0; in am65_cpsw_dl_switch_mode_set() 2529 slave->port_vlan = cpsw->default_vlan; in am65_cpsw_dl_switch_mode_set() 2548 port->slave.port_vlan = 0; in am65_cpsw_dl_switch_mode_set()
|
A D | cpsw_priv.h | 275 u32 port_vlan; member 311 u32 port_vlan; member
|
A D | cpsw_switchdev.c | 132 port_vlan_reg = &cpsw->host_port_regs->port_vlan; in cpsw_get_pvid() 160 port_vlan_reg = &cpsw->host_port_regs->port_vlan; in cpsw_set_pvid()
|
A D | cpsw_priv.c | 493 slave->port_vlan = slave->data->dual_emac_res_vlan; in cpsw_init_common()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_main.h | 376 u16 port_vlan; member
|
A D | hns_dsaf_main.c | 1600 mac_key->low.bits.port_vlan = 0; in hns_dsaf_set_mac_key() 1601 dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_VLAN_M, in hns_dsaf_set_mac_key() 1603 dsaf_set_field(mac_key->low.bits.port_vlan, DSAF_TBL_TCAM_KEY_PORT_M, in hns_dsaf_set_mac_key() 2037 soft_mac_entry->tcam_key.low.bits.port_vlan, in hns_dsaf_clr_mac_mc_port() 2053 soft_mac_entry->tcam_key.low.bits.port_vlan, in hns_dsaf_clr_mac_mc_port()
|
Completed in 51 milliseconds