Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c845 struct esw_mc_addr *allmulti_addr = &esw->mc_promisc; in esw_apply_vport_rx_mode() local
853 if (!allmulti_addr->uplink_rule) in esw_apply_vport_rx_mode()
854 allmulti_addr->uplink_rule = in esw_apply_vport_rx_mode()
857 allmulti_addr->refcnt++; in esw_apply_vport_rx_mode()
862 if (--allmulti_addr->refcnt > 0) in esw_apply_vport_rx_mode()
865 if (allmulti_addr->uplink_rule) in esw_apply_vport_rx_mode()
866 mlx5_del_flow_rules(allmulti_addr->uplink_rule); in esw_apply_vport_rx_mode()
867 allmulti_addr->uplink_rule = NULL; in esw_apply_vport_rx_mode()