]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit4a3929b223d0a13fc5920a849a2c303ccc1a1e03
tree43de3a9d460fc2888d70e149fdfbe5e9522829b6
parent411ec9e0b45792e2ac7c55f94a635d5ce894910b
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