Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.c137 struct l2table_node *l2addr; in mlx5_mpfs_add_mac() local
146 l2addr = l2addr_hash_find(mpfs->hash, mac, struct l2table_node); in mlx5_mpfs_add_mac()
147 if (l2addr) { in mlx5_mpfs_add_mac()
148 l2addr->ref_count++; in mlx5_mpfs_add_mac()
156 l2addr = l2addr_hash_add(mpfs->hash, mac, struct l2table_node, GFP_KERNEL); in mlx5_mpfs_add_mac()
157 if (!l2addr) { in mlx5_mpfs_add_mac()
166 l2addr->index = index; in mlx5_mpfs_add_mac()
167 l2addr->ref_count = 1; in mlx5_mpfs_add_mac()
173 l2addr_hash_del(l2addr); in mlx5_mpfs_add_mac()
184 struct l2table_node *l2addr; in mlx5_mpfs_del_mac() local
[all …]