From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/mlx5: poll completion queue once per a call Date: Mon, 31 Jul 2017 17:12:39 +0100 Message-ID: References: <20170720154835.13571-1-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Yongseok Koh , adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 017F67CC7 for ; Mon, 31 Jul 2017 18:12:42 +0200 (CEST) In-Reply-To: <20170720154835.13571-1-yskoh@mellanox.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Acked-by: Nelio Laranjeiro Reviewed-by: Sagi Grimberg Applied to dpdk-next-net/master, thanks.