Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c239 struct esw_mc_addr *mc_promisc; in esw_legacy_disable() local
243 mc_promisc = &esw->mc_promisc; in esw_legacy_disable()
244 if (mc_promisc->uplink_rule) in esw_legacy_disable()
245 mlx5_del_flow_rules(mc_promisc->uplink_rule); in esw_legacy_disable()
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c64 bool mc_promisc; member
385 iter_vaddr->mc_promisc = true; in update_allmulti_vports()
425 if (!vaddr->mc_promisc) in esw_add_mc_addr()
466 if (vaddr->mc_promisc || (--esw_mc->refcnt > 0)) in esw_del_mc_addr()
566 if (addr->mc_promisc) { in esw_update_vport_addr_list()
578 addr->mc_promisc = false; in esw_update_vport_addr_list()
631 addr->mc_promisc = true; in esw_update_vport_mc_promisc()
638 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument
640 struct esw_mc_addr *allmulti_addr = &esw->mc_promisc; in esw_apply_vport_rx_mode()
642 if (IS_ERR_OR_NULL(vport->allmulti_rule) != mc_promisc) in esw_apply_vport_rx_mode()
[all …]
Deswitch.h289 struct esw_mc_addr mc_promisc; member
/drivers/net/ethernet/sfc/
Dmcdi_filters.h76 bool mc_promisc; member
Dmcdi_filters.c1022 if (table->mc_chaining && table->mc_promisc_last != table->mc_promisc) in efx_mcdi_filter_vlan_sync_rx_mode()
1024 if (table->mc_promisc) { in efx_mcdi_filter_vlan_sync_rx_mode()
1711 table->mc_promisc = !!(net_dev->flags & (IFF_PROMISC | IFF_ALLMULTI)); in efx_mcdi_filter_mc_addr_list()
1716 table->mc_promisc = true; in efx_mcdi_filter_mc_addr_list()
1770 table->mc_promisc_last = table->mc_promisc; in efx_mcdi_filter_sync_rx_mode()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c1688 bool mc_promisc = false; in be_set_mc_list() local
1701 mc_promisc = true; in be_set_mc_list()
1722 if (mc_promisc) { in be_set_mc_list()