net/mlx5: E-Switch, Add SR-IOV (FDB) support
[cascardo/linux.git] / include / linux / mlx5 / mlx5_ifc.h
index ae7c08a..a81b008 100644 (file)
@@ -827,9 +827,10 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         reserved_69[0x220];
 };
 
-enum {
-       MLX5_DEST_FORMAT_STRUCT_DESTINATION_TYPE_FLOW_TABLE_  = 0x1,
-       MLX5_DEST_FORMAT_STRUCT_DESTINATION_TYPE_TIR          = 0x2,
+enum mlx5_flow_destination_type {
+       MLX5_FLOW_DESTINATION_TYPE_VPORT        = 0x0,
+       MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE   = 0x1,
+       MLX5_FLOW_DESTINATION_TYPE_TIR          = 0x2,
 };
 
 struct mlx5_ifc_dest_format_struct_bits {