Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.c135 struct l2table_node *l2addr; in mlx5_mpfs_add_mac() local
144 l2addr = l2addr_hash_find(mpfs->hash, mac, struct l2table_node); in mlx5_mpfs_add_mac()
145 if (l2addr) { in mlx5_mpfs_add_mac()
146 l2addr->ref_count++; in mlx5_mpfs_add_mac()
154 l2addr = l2addr_hash_add(mpfs->hash, mac, struct l2table_node, GFP_KERNEL); in mlx5_mpfs_add_mac()
155 if (!l2addr) { in mlx5_mpfs_add_mac()
164 l2addr->index = index; in mlx5_mpfs_add_mac()
165 l2addr->ref_count = 1; in mlx5_mpfs_add_mac()
171 l2addr_hash_del(l2addr); in mlx5_mpfs_add_mac()
182 struct l2table_node *l2addr; in mlx5_mpfs_del_mac() local
[all …]