On Tue, Oct 24, 2017 at 05:27:25PM -0700, Yongseok Koh wrote: > Configuring UAR as IO-mapped makes maximum throughput decline by noticeable > amount. If UAR is configured as write-combining register, a write memory > barrier is needed on ringing a doorbell. rte_wmb() is mostly effective when > the size of a burst is comparatively small. Revert the register back to > write-combining and enforce a write memory barrier instead, except for > vectorized Tx burst routines. Application can change it by setting > MLX5_SHUT_UP_BF under its own necessity. > > Fixes: 9f9bebae5530 ("net/mlx5: don't map doorbell register to write > combining") > Cc: sta...@dpdk.org > Cc: Sagi Grimberg <s...@grimberg.me> > Cc: Alexander Solganik <solga...@gmail.com> > > Signed-off-by: Yongseok Koh <ys...@mellanox.com> > Acked-by: Shahaf Shuler <shah...@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranje...@6wind.com> Thanks, -- Nélio Laranjeiro 6WIND