[PATCH v2 2/2] IB/mlx5: set UMR wqe fence according to HCA cap
Sagi Grimberg
sagi at grimberg.me
Tue May 30 03:48:56 PDT 2017
> +static u8 mlx5_get_umr_fence(u8 umr_fence_cap)
> +{
> + switch (umr_fence_cap) {
> + case MLX5_CAP_UMR_FENCE_NONE:
> + return MLX5_FENCE_MODE_NONE;
> + case MLX5_CAP_UMR_FENCE_SMALL:
> + return MLX5_FENCE_MODE_INITIATOR_SMALL;
> + default:
> + return MLX5_FENCE_MODE_STRONG_ORDERING;
> + }
> +}
Where are the MLX5_CAP_UMR defines declared? Am I missing something?
What is the value of MLX5_CAP_UMR_FENCE_NONE? if its zero then this
change is not backwards compatible with older FW.
More information about the Linux-nvme
mailing list