Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c67 bool mc_promisc; member
403 iter_vaddr->mc_promisc = true; in update_allmulti_vports()
443 if (!vaddr->mc_promisc) in esw_add_mc_addr()
484 if (vaddr->mc_promisc || (--esw_mc->refcnt > 0)) in esw_del_mc_addr()
584 if (addr->mc_promisc) { in esw_update_vport_addr_list()
596 addr->mc_promisc = false; in esw_update_vport_addr_list()
649 addr->mc_promisc = true; in esw_update_vport_mc_promisc()
656 bool promisc, bool mc_promisc) in esw_apply_vport_rx_mode() argument
658 struct esw_mc_addr *allmulti_addr = &esw->mc_promisc; in esw_apply_vport_rx_mode()
660 if (IS_ERR_OR_NULL(vport->allmulti_rule) != mc_promisc) in esw_apply_vport_rx_mode()
[all …]
Deswitch.h342 struct esw_mc_addr mc_promisc; member
/linux-6.6.21/drivers/net/ethernet/sfc/
Dmcdi_filters.h76 bool mc_promisc; member
Dmcdi_filters.c1026 if (table->mc_chaining && table->mc_promisc_last != table->mc_promisc) in efx_mcdi_filter_vlan_sync_rx_mode()
1028 if (table->mc_promisc) { in efx_mcdi_filter_vlan_sync_rx_mode()
1715 table->mc_promisc = !!(net_dev->flags & (IFF_PROMISC | IFF_ALLMULTI)); in efx_mcdi_filter_mc_addr_list()
1720 table->mc_promisc = true; in efx_mcdi_filter_mc_addr_list()
1774 table->mc_promisc_last = table->mc_promisc; in efx_mcdi_filter_sync_rx_mode()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_main.c1687 bool mc_promisc = false; in be_set_mc_list() local
1700 mc_promisc = true; in be_set_mc_list()
1721 if (mc_promisc) { in be_set_mc_list()