]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4324c3dd6d8bf1d53bc21b942d98a0bccfd75822
tree817967b5ed15d6ba14521ec0e478e9f52fd6c551
parentf8125046014460d89a8c0d5b7f03ecc0ba6398a8
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: dc556346e4d4 ('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