Searched refs:l2addr (Results 1 – 1 of 1) sorted by relevance
136 struct l2table_node *l2addr; in mlx5_mpfs_add_mac() local145 l2addr = l2addr_hash_find(mpfs->hash, mac, struct l2table_node); in mlx5_mpfs_add_mac()146 if (l2addr) { in mlx5_mpfs_add_mac()147 l2addr->ref_count++; in mlx5_mpfs_add_mac()155 l2addr = l2addr_hash_add(mpfs->hash, mac, struct l2table_node, GFP_KERNEL); in mlx5_mpfs_add_mac()156 if (!l2addr) { in mlx5_mpfs_add_mac()165 l2addr->index = index; in mlx5_mpfs_add_mac()166 l2addr->ref_count = 1; in mlx5_mpfs_add_mac()172 l2addr_hash_del(l2addr); in mlx5_mpfs_add_mac()184 struct l2table_node *l2addr; in mlx5_mpfs_del_mac() local[all …]