Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c556 struct esw_mc_addr *esw_mc) in update_allmulti_vports() argument
605 struct esw_mc_addr *esw_mc; in esw_add_mc_addr() local
612 esw_mc = l2addr_hash_find(hash, mac, struct esw_mc_addr); in esw_add_mc_addr()
613 if (esw_mc) in esw_add_mc_addr()
616 esw_mc = l2addr_hash_add(hash, mac, struct esw_mc_addr, GFP_KERNEL); in esw_add_mc_addr()
617 if (!esw_mc) in esw_add_mc_addr()
620 esw_mc->uplink_rule = /* Forward MC MAC to Uplink */ in esw_add_mc_addr()
624 update_allmulti_vports(esw, vaddr, esw_mc); in esw_add_mc_addr()
631 esw_mc->refcnt++; in esw_add_mc_addr()
638 esw_mc->refcnt, esw_mc->uplink_rule); in esw_add_mc_addr()
[all …]