Searched refs:fdb_entry (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_fdb.c | 27 struct lan966x_fdb_entry *fdb_entry; in lan966x_fdb_find_entry() local 29 list_for_each_entry(fdb_entry, &lan966x->fdb_entries, list) { in lan966x_fdb_find_entry() 30 if (fdb_entry->vid == fdb_info->vid && in lan966x_fdb_find_entry() 31 ether_addr_equal(fdb_entry->mac, fdb_info->addr)) in lan966x_fdb_find_entry() 32 return fdb_entry; in lan966x_fdb_find_entry() 41 struct lan966x_fdb_entry *fdb_entry; in lan966x_fdb_add_entry() local 43 fdb_entry = lan966x_fdb_find_entry(lan966x, fdb_info); in lan966x_fdb_add_entry() 44 if (fdb_entry) { in lan966x_fdb_add_entry() 45 fdb_entry->references++; in lan966x_fdb_add_entry() 49 fdb_entry = kzalloc(sizeof(*fdb_entry), GFP_KERNEL); in lan966x_fdb_add_entry() [all …]
|
/Linux-v6.1/drivers/net/dsa/ |
D | rzn1_a5psw.h | 214 struct fdb_entry { struct 228 struct fdb_entry entry; argument
|
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 833 struct fdb_dump_entry fdb_entry; in dpaa2_switch_fdb_iterate() local 841 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate() 866 fdb_entry = fdb_entries[i]; in dpaa2_switch_fdb_iterate() 868 err = cb(port_priv, &fdb_entry, data); in dpaa2_switch_fdb_iterate() 886 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_dump() argument 889 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_dump() 892 return dpaa2_switch_fdb_dump_nl(fdb_entry, data); in dpaa2_switch_fdb_entry_dump() 915 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_fast_age() argument 918 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_fast_age() 921 if (!(fdb_entry->type & DPSW_FDB_ENTRY_TYPE_DYNAMIC)) in dpaa2_switch_fdb_entry_fast_age() [all …]
|
D | dpaa2-switch.h | 255 struct fdb_dump_entry *fdb_entry,
|
/Linux-v6.1/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 2382 struct ofdpa_fdb_tbl_entry *fdb_entry; in ofdpa_fini() local 2402 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini() 2403 hash_del(&fdb_entry->entry); in ofdpa_fini()
|