net/mlx5: E-Switch, always set mc_promisc for allmulti vports
authorMohamad Haj Yahia <mohamad@mellanox.com>
Thu, 9 Jun 2016 21:07:38 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:26 +0000 (22:06 -0700)
commit62e3c24ac4f0ee307c41a3652636f88a3f8d165c
tree817967b5ed15d6ba14521ec0e478e9f52fd6c551
parent23898c763f4af6f5c80b0230b1ea788a0ce3cf73
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>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c