net/mlx5: Update op_mode to op_mod for port selection
To be consistent with the other enum keys use OP_MOD instead of OP_MODE. Signed-off-by: Roi Dayan <roid@nvidia.com> Reviewed-by: Maor Dickman <maord@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
38d9a740f6
commit
f9c895a72a
@ -717,7 +717,7 @@ static int handle_hca_cap_port_selection(struct mlx5_core_dev *dev,
|
||||
MLX5_ST_SZ_BYTES(port_selection_cap));
|
||||
MLX5_SET(port_selection_cap, set_hca_cap, port_select_flow_table_bypass, 1);
|
||||
|
||||
err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MODE_PORT_SELECTION);
|
||||
err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_PORT_SELECTION);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ enum {
|
||||
MLX5_SET_HCA_CAP_OP_MOD_ATOMIC = 0x3,
|
||||
MLX5_SET_HCA_CAP_OP_MOD_ROCE = 0x4,
|
||||
MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE2 = 0x20,
|
||||
MLX5_SET_HCA_CAP_OP_MODE_PORT_SELECTION = 0x25,
|
||||
MLX5_SET_HCA_CAP_OP_MOD_PORT_SELECTION = 0x25,
|
||||
};
|
||||
|
||||
enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user