Home
last modified time | relevance | path

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

/linux-5.19.10/net/dsa/
Dswitch.c250 a = dsa_mac_addr_find(&dp->fdbs, addr, vid, db); in dsa_port_do_fdb_add()
272 list_add_tail(&a->list, &dp->fdbs); in dsa_port_do_fdb_add()
294 a = dsa_mac_addr_find(&dp->fdbs, addr, vid, db); in dsa_port_do_fdb_del()
327 a = dsa_mac_addr_find(&lag->fdbs, addr, vid, db); in dsa_switch_do_lag_fdb_add()
349 list_add_tail(&a->list, &lag->fdbs); in dsa_switch_do_lag_fdb_add()
366 a = dsa_mac_addr_find(&lag->fdbs, addr, vid, db); in dsa_switch_do_lag_fdb_del()
Ddsa.c488 list_for_each_entry(a, &dp->fdbs, list) { in dsa_fdb_present_in_other_db()
Ddsa2.c1354 INIT_LIST_HEAD(&dp->fdbs); in dsa_port_touch()
1696 WARN_ON(!list_empty(&dp->fdbs)); in dsa_switch_release_ports()
Dport.c607 INIT_LIST_HEAD(&lag->fdbs); in dsa_port_lag_create()
625 WARN_ON(!list_empty(&lag->fdbs)); in dsa_port_lag_destroy()
/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.h188 struct dpaa2_switch_fdb *fdbs; member
Ddpaa2-switch.c39 if (!ethsw->fdbs[i].in_use) in dpaa2_switch_fdb_get_unused()
40 return &ethsw->fdbs[i]; in dpaa2_switch_fdb_get_unused()
3226 kfree(ethsw->fdbs); in dpaa2_switch_remove()
3350 ethsw->fdbs = kcalloc(ethsw->sw_attr.num_ifs, sizeof(*ethsw->fdbs), in dpaa2_switch_probe()
3352 if (!ethsw->fdbs) { in dpaa2_switch_probe()
3414 kfree(ethsw->fdbs); in dpaa2_switch_probe()
/linux-5.19.10/include/net/
Ddsa.h125 struct list_head fdbs; member
327 struct list_head fdbs; member