Searched refs:mact_entry (Results 1 – 1 of 1) sorted by relevance
243 struct sparx5_mact_entry *mact_entry; in alloc_mact_entry() local245 mact_entry = devm_kzalloc(sparx5->dev, in alloc_mact_entry()246 sizeof(*mact_entry), GFP_ATOMIC); in alloc_mact_entry()247 if (!mact_entry) in alloc_mact_entry()250 memcpy(mact_entry->mac, mac, ETH_ALEN); in alloc_mact_entry()251 mact_entry->vid = vid; in alloc_mact_entry()252 mact_entry->port = port_index; in alloc_mact_entry()253 return mact_entry; in alloc_mact_entry()260 struct sparx5_mact_entry *mact_entry; in find_mact_entry() local264 list_for_each_entry(mact_entry, &sparx5->mact_entries, list) { in find_mact_entry()[all …]