[PATCH v2 2/2] IB/mlx5: set UMR wqe fence according to HCA cap
Sagi Grimberg
sagi at grimberg.me
Tue May 30 03:51:33 PDT 2017
Leon,
>> We don't fence those WR's.
>> Christoph just re-write it to be more intuitive code. I don't see logic
>> difference, am I wrong here ?
>
> A little bit, before Christoph's suggestion, we calculated fence for
> the paths which need such fence, after we will calculate for all paths.
Every WQE posted to a send queue must include a fence bit. All work
request posted on the send queue calculate the required fence, this
used to happen in finish_wqe call-sites with get_fence(), Christoph
just inlin'ed it.
More information about the Linux-nvme
mailing list