]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Handle representors creation in handler context
authorVu Pham <vuhuong@mellanox.com>
Mon, 10 Jun 2019 23:38:16 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:48 +0000 (10:59 -0700)
commit6df6c7cb92cb26a9b72906c1f0b123d5b4b34d98
tree514e243b191cc5f39ba8ecf0221b27eddc2429c0
parentf5ab31e2af7eae0bc1330faef7fcae09222bd879
net/mlx5: E-Switch, Handle representors creation in handler context

Unified representors creation in esw_functions_changed context
handler. Emulate the esw_function_changed event for FW/HW that
does not support this event.

Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c