Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A 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/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c178 bool uc_promisc = false, mc_promisc = false; in __fbnic_set_rx_mode() local
211 mc_promisc = true; in __fbnic_set_rx_mode()
214 mc_promisc |= !!(netdev->flags & IFF_ALLMULTI) || uc_promisc; in __fbnic_set_rx_mode()
229 } else if (mc_promisc && in __fbnic_set_rx_mode()
261 fbnic_bmc_rpc_all_multi_config(fbd, mc_promisc); in __fbnic_set_rx_mode()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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 …]
H A Deswitch.h343 struct esw_mc_addr mc_promisc; member
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_filters.h76 bool mc_promisc; member
H A 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/drivers/net/ethernet/emulex/benet/
H A 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()