Searched refs:fdb_entry (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/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-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_eswitch_br.c | 330 struct ice_esw_br_fdb_entry *fdb_entry) in ice_eswitch_br_fdb_entry_delete() argument 334 rhashtable_remove_fast(&bridge->fdb_ht, &fdb_entry->ht_node, in ice_eswitch_br_fdb_entry_delete() 336 list_del(&fdb_entry->list); in ice_eswitch_br_fdb_entry_delete() 338 ice_eswitch_br_flow_delete(pf, fdb_entry->flow); in ice_eswitch_br_fdb_entry_delete() 340 kfree(fdb_entry); in ice_eswitch_br_fdb_entry_delete() 373 struct ice_esw_br_fdb_entry *fdb_entry; in ice_eswitch_br_fdb_entry_find_and_delete() local 376 fdb_entry = ice_eswitch_br_fdb_find(bridge, mac, vid); in ice_eswitch_br_fdb_entry_find_and_delete() 377 if (!fdb_entry) { in ice_eswitch_br_fdb_entry_find_and_delete() 383 trace_ice_eswitch_br_fdb_entry_find_and_delete(fdb_entry); in ice_eswitch_br_fdb_entry_find_and_delete() 384 ice_eswitch_br_fdb_entry_notify_and_cleanup(bridge, fdb_entry); in ice_eswitch_br_fdb_entry_find_and_delete() [all …]
|
/linux-6.6.21/drivers/net/dsa/ |
D | rzn1_a5psw.h | 217 struct fdb_entry { struct 231 struct fdb_entry entry; argument
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 841 struct fdb_dump_entry fdb_entry; in dpaa2_switch_fdb_iterate() local 849 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate() 874 fdb_entry = fdb_entries[i]; in dpaa2_switch_fdb_iterate() 876 err = cb(port_priv, &fdb_entry, data); in dpaa2_switch_fdb_iterate() 894 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_dump() argument 897 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_dump() 900 return dpaa2_switch_fdb_dump_nl(fdb_entry, data); in dpaa2_switch_fdb_entry_dump() 923 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_fast_age() argument 926 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_fast_age() 929 if (!(fdb_entry->type & DPSW_FDB_ENTRY_TYPE_DYNAMIC)) in dpaa2_switch_fdb_entry_fast_age() [all …]
|
D | dpaa2-switch.h | 252 struct fdb_dump_entry *fdb_entry,
|
/linux-6.6.21/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 2383 struct ofdpa_fdb_tbl_entry *fdb_entry; in ofdpa_fini() local 2403 hash_for_each_safe(ofdpa->fdb_tbl, bkt, tmp, fdb_entry, entry) in ofdpa_fini() 2404 hash_del(&fdb_entry->entry); in ofdpa_fini()
|