mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
net/mlx5: E-Switch, always set mc_promisc for allmulti vports
Set the mc_promisc flag also in the case of adding new mc address to existing allmulti vport. Fixes: a35f71f27a61 ('net/mlx5: E-Switch, Implement promiscuous rx modes vf request handling') Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
23898c763f
commit
62e3c24ac4
@ -651,6 +651,7 @@ static void update_allmulti_vports(struct mlx5_eswitch *esw,
|
||||
esw_fdb_set_vport_rule(esw,
|
||||
mac,
|
||||
vport_idx);
|
||||
iter_vaddr->mc_promisc = true;
|
||||
break;
|
||||
case MLX5_ACTION_DEL:
|
||||
if (!iter_vaddr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user