Lines Matching refs:fdb_entry
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()
932 if (fdb_entry->type & DPSW_FDB_ENTRY_TYPE_UNICAST) in dpaa2_switch_fdb_entry_fast_age()
933 dpaa2_switch_port_fdb_del_uc(port_priv, fdb_entry->mac_addr); in dpaa2_switch_fdb_entry_fast_age()
935 dpaa2_switch_port_fdb_del_mc(port_priv, fdb_entry->mac_addr); in dpaa2_switch_fdb_entry_fast_age()