[dpdk-dev] [PATCH] net/mlx5: poll completion queue once per a call

Ferruh Yigit ferruh.yigit at intel.com
Mon Jul 31 18:12:39 CEST 2017


On 7/20/2017 4:48 PM, Yongseok Koh wrote:
> mlx5_tx_complete() polls completion queue multiple times until it
> encounters an invalid entry. As Tx completions are suppressed by
> MLX5_TX_COMP_THRESH, it is waste of cycles to expect multiple completions
> in a poll. And freeing too many buffers in a call can cause high jitter.
> This patch improves throughput a little.
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Reviewed-by: Sagi Grimberg <sagi at grimberg.me>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list