Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_fdb.c32 return fdb_entry; in lan966x_fdb_find_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()
50 if (!fdb_entry) in lan966x_fdb_add_entry()
55 fdb_entry->references = 1; in lan966x_fdb_add_entry()
68 fdb_entry->references--; in lan966x_fdb_del_entry()
71 kfree(fdb_entry); in lan966x_fdb_del_entry()
89 lan966x_mac_cpu_learn(lan966x, fdb_entry->mac, fdb_entry->vid); in lan966x_fdb_write_entries()
101 lan966x_mac_cpu_forget(lan966x, fdb_entry->mac, fdb_entry->vid); in lan966x_fdb_erase_entries()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch_br.c336 list_del(&fdb_entry->list); in ice_eswitch_br_fdb_entry_delete()
340 kfree(fdb_entry); in ice_eswitch_br_fdb_entry_delete()
377 if (!fdb_entry) { in ice_eswitch_br_fdb_entry_find_and_delete()
418 if (fdb_entry) in ice_eswitch_br_fdb_entry_create()
421 fdb_entry = kzalloc(sizeof(*fdb_entry), GFP_KERNEL); in ice_eswitch_br_fdb_entry_create()
422 if (!fdb_entry) { in ice_eswitch_br_fdb_entry_create()
435 fdb_entry->data.vid = vid; in ice_eswitch_br_fdb_entry_create()
436 fdb_entry->br_port = br_port; in ice_eswitch_br_fdb_entry_create()
437 fdb_entry->flow = flow; in ice_eswitch_br_fdb_entry_create()
438 fdb_entry->dev = netdev; in ice_eswitch_br_fdb_entry_create()
[all …]
/openbmc/linux/drivers/net/dsa/
H A Drzn1_a5psw.h217 struct fdb_entry { struct
231 struct fdb_entry entry; argument
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c841 struct fdb_dump_entry fdb_entry; in dpaa2_switch_fdb_iterate() local
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()
932 if (fdb_entry->type & DPSW_FDB_ENTRY_TYPE_UNICAST) in dpaa2_switch_fdb_entry_fast_age()
[all …]
H A Ddpaa2-switch.h252 struct fdb_dump_entry *fdb_entry,
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c2383 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()