Home
last modified time | relevance | path

Searched refs:fdbs (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/net/dsa/
Dswitch.c276 a = dsa_mac_addr_find(&dp->fdbs, addr, vid, db); in dsa_port_do_fdb_add()
300 list_add_tail(&a->list, &dp->fdbs); in dsa_port_do_fdb_add()
326 a = dsa_mac_addr_find(&dp->fdbs, addr, vid, db); in dsa_port_do_fdb_del()
363 a = dsa_mac_addr_find(&lag->fdbs, addr, vid, db); in dsa_switch_do_lag_fdb_add()
388 list_add_tail(&a->list, &lag->fdbs); in dsa_switch_do_lag_fdb_add()
405 a = dsa_mac_addr_find(&lag->fdbs, addr, vid, db); in dsa_switch_do_lag_fdb_del()
Ddsa.c1102 INIT_LIST_HEAD(&dp->fdbs); in dsa_port_touch()
1484 WARN_ON(!list_empty(&dp->fdbs)); in dsa_switch_release_ports()
1705 list_for_each_entry(a, &dp->fdbs, list) { in dsa_fdb_present_in_other_db()
Dport.c630 INIT_LIST_HEAD(&lag->fdbs); in dsa_port_lag_create()
648 WARN_ON(!list_empty(&lag->fdbs)); in dsa_port_lag_destroy()
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.h190 struct dpaa2_switch_fdb *fdbs; member
Ddpaa2-switch.c38 if (!ethsw->fdbs[i].in_use) in dpaa2_switch_fdb_get_unused()
39 return &ethsw->fdbs[i]; in dpaa2_switch_fdb_get_unused()
3273 kfree(ethsw->fdbs); in dpaa2_switch_remove()
3398 ethsw->fdbs = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->fdbs), in dpaa2_switch_probe()
3400 if (!ethsw->fdbs) { in dpaa2_switch_probe()
3461 kfree(ethsw->fdbs); in dpaa2_switch_probe()
/linux-6.12.1/include/net/
Ddsa.h115 struct list_head fdbs; member
313 struct list_head fdbs; member