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 <redacted>
Acked-by: Nelio Laranjeiro <redacted>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Applied to dpdk-next-net/master, thanks.