From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Subject: Re: [PATCH] net/mlx5: fix wrong completion buffer size Date: Tue, 23 May 2017 14:09:33 +0200 Message-ID: <20170523120933.GE31330@autoinstall.dev.6wind.com> References: <20170518104445.44358-1-shahafs@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: adrien.mazarguil@6wind.com, dev@dpdk.org, stable@dpdk.org To: Shahaf Shuler Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id C8127378B for ; Tue, 23 May 2017 14:09:39 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id b84so21908034wmh.0 for ; Tue, 23 May 2017 05:09:39 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20170518104445.44358-1-shahafs@mellanox.com> 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 Thu, May 18, 2017 at 01:44:45PM +0300, Shahaf Shuler wrote: > Completion buffer size was computed wrongly, causing > completion polling to wraparound too early and miss entries. > > Fixing it by using Direct Verbs to query the CQ info. > > Fixes: 6218063b39a6 ("net/mlx5: refactor Rx data path") > Fixes: 1d88ba171942 ("net/mlx5: refactor Tx data path") > Cc: stable@dpdk.org > > Signed-off-by: Shahaf Shuler > Acked-by: Yongseok Koh Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND