net/mlx5: E-Switch, Honor eswitch functions changed event cap
authorVu Pham <vuhuong@mellanox.com>
Wed, 29 May 2019 22:50:37 +0000 (22:50 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 31 May 2019 19:28:14 +0000 (12:28 -0700)
commit6706a3b94f890145ca09797f748d2b30e1414fd3
treea90eceab159b39081dec0469005fcf9c5de2d97c
parentcd56f929e6a547180f889a4def370bdd6d48d223
net/mlx5: E-Switch, Honor eswitch functions changed event cap

Whenever device supports eswitch functions changed event, honor
such device setting. Do not limit it to ECPF.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
include/linux/mlx5/mlx5_ifc.h