]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Handle UC address change in switchdev mode
authorBodong Wang <bodong@mellanox.com>
Fri, 28 Jun 2019 22:36:23 +0000 (22:36 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Jul 2019 23:40:31 +0000 (16:40 -0700)
commita51cc7c51edaf9ce30c71072be42c6727f61628f
tree43de3a9d460fc2888d70e149fdfbe5e9522829b6
parent7f346278d235840a9a3d0c0e79ff394ddad940eb
net/mlx5: E-Switch, Handle UC address change in switchdev mode

When NVME device emulation mode is enabled, more than one PFs use the
same physical port. In this case, MPFS is required to program L2
addresses.

It used to rely on netdev set_rx_mode in switchdev mode, but driver
later changed to not create netdev for eswitch manager once in
switchdev mode. So, UC address event should be handled.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c