Lines Matching refs:fdb_entry
829 struct fdb_dump_entry fdb_entry; in dpaa2_switch_fdb_iterate() local
837 fdb_dump_size = ethsw->sw_attr.max_fdb_entries * sizeof(fdb_entry); in dpaa2_switch_fdb_iterate()
862 fdb_entry = fdb_entries[i]; in dpaa2_switch_fdb_iterate()
864 err = cb(port_priv, &fdb_entry, data); in dpaa2_switch_fdb_iterate()
882 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_dump() argument
885 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_dump()
888 return dpaa2_switch_fdb_dump_nl(fdb_entry, data); in dpaa2_switch_fdb_entry_dump()
911 struct fdb_dump_entry *fdb_entry, in dpaa2_switch_fdb_entry_fast_age() argument
914 if (!dpaa2_switch_port_fdb_valid_entry(fdb_entry, port_priv)) in dpaa2_switch_fdb_entry_fast_age()
917 if (!(fdb_entry->type & DPSW_FDB_ENTRY_TYPE_DYNAMIC)) in dpaa2_switch_fdb_entry_fast_age()
920 if (fdb_entry->type & DPSW_FDB_ENTRY_TYPE_UNICAST) in dpaa2_switch_fdb_entry_fast_age()
921 dpaa2_switch_port_fdb_del_uc(port_priv, fdb_entry->mac_addr); in dpaa2_switch_fdb_entry_fast_age()
923 dpaa2_switch_port_fdb_del_mc(port_priv, fdb_entry->mac_addr); in dpaa2_switch_fdb_entry_fast_age()