summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorVu Pham2019-05-30 00:50:37 +0200
committerSaeed Mahameed2019-05-31 21:28:14 +0200
commit6706a3b94f890145ca09797f748d2b30e1414fd3 (patch)
treea90eceab159b39081dec0469005fcf9c5de2d97c /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5: E-Switch, Replace host_params event with functions_changed event (diff)
downloadkernel-qcow2-linux-6706a3b94f890145ca09797f748d2b30e1414fd3.tar.gz
kernel-qcow2-linux-6706a3b94f890145ca09797f748d2b30e1414fd3.tar.xz
kernel-qcow2-linux-6706a3b94f890145ca09797f748d2b30e1414fd3.zip
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>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 0780242a757a..6513b985c5e9 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -665,7 +665,9 @@ struct mlx5_ifc_e_switch_cap_bits {
u8 vport_svlan_insert[0x1];
u8 vport_cvlan_insert_if_not_exist[0x1];
u8 vport_cvlan_insert_overwrite[0x1];
- u8 reserved_at_5[0x16];
+ u8 reserved_at_5[0x14];
+ u8 esw_functions_changed[0x1];
+ u8 reserved_at_1a[0x1];
u8 ecpf_vport_exists[0x1];
u8 counter_eswitch_affinity[0x1];
u8 merged_eswitch[0x1];