Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c658 struct esw_mc_addr *allmulti_addr = &esw->mc_promisc; in esw_apply_vport_rx_mode() local
666 if (!allmulti_addr->uplink_rule) in esw_apply_vport_rx_mode()
667 allmulti_addr->uplink_rule = in esw_apply_vport_rx_mode()
670 allmulti_addr->refcnt++; in esw_apply_vport_rx_mode()
675 if (--allmulti_addr->refcnt > 0) in esw_apply_vport_rx_mode()
678 if (allmulti_addr->uplink_rule) in esw_apply_vport_rx_mode()
679 mlx5_del_flow_rules(allmulti_addr->uplink_rule); in esw_apply_vport_rx_mode()
680 allmulti_addr->uplink_rule = NULL; in esw_apply_vport_rx_mode()