From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id C4C932C29 for ; Tue, 23 May 2017 14:09:39 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id 7so21809348wmo.1 for ; Tue, 23 May 2017 05:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+x6ODY3PRBrKuJyn83O7lP4p4crjhwBX1+4RMY5tx0g=; b=BW8ve5I2QBh61GO/tgx6jL58/OGWhwC5j+d+75E786dcOGuglO3qemPq0yoEKQF9rJ 0ri1cBJ5B2PPUKHy3tMgm8gy+fkJ7tZWUn+y4Fia6m1md5zOFkx0OFqyw4npRV43pmZ+ 0tFCiRQj6NPfYv0dNrtJ+opqltsj7CshIe04+h+D0li22g+z7v75FwbNmQzFieKGAEaB v6Ci/43w4n6H12jxveViXmtsI95xRbB0qNtqfgaEbXUh8jlOSv698izMpQxq6vu5WB4x q4tVc2maCcIORQ8+WnYn3exSaoUtBlp/kTao3PK/2YBfnhbzFCQFggrnI2Rp3oQLn+iR TvRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=+x6ODY3PRBrKuJyn83O7lP4p4crjhwBX1+4RMY5tx0g=; b=jnPQ/3cpgvEwXEEvPjdIapRFlV6hc3stsws2wQeW1ECvrvlk8G/pxE8+Y3rLJVLRZE 2BpFqmYiY+31MZpDcm35kuF91+aPbm+G64swg8NLo8NLWWLU7aIhguQWRVJcwH3iUNAJ fMaKz3OZHDFZE5vukIW/aZbRRkDzsOk3pVE5e/IRfjW8tu3sbRH2oMii61l/zKKciYkM tBV03IjVAFjGpBbyum//+eUPe2gMENj3Opz2cLzYn25yvtDZpOWXhDEwh1oQ6Us/kf/V osQdYgtu7iKug4lRuyw2jB3Pn25GM9mpTgSZHm1JXYTc+AFlzVVnem9ipJBpbEAkjl4m rh0w== X-Gm-Message-State: AODbwcD+yC0umpgFO9O7tPaY0+8awjvoBgf9M+hRE4HbO1cJqHEb4mA9 moTMa20xjvOhyHvl X-Received: by 10.28.165.210 with SMTP id o201mr2009939wme.8.1495541379326; Tue, 23 May 2017 05:09:39 -0700 (PDT) Received: from autoinstall.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id m38sm869012wrm.4.2017.05.23.05.09.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2017 05:09:38 -0700 (PDT) Date: Tue, 23 May 2017 14:09:33 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Shahaf Shuler Cc: adrien.mazarguil@6wind.com, dev@dpdk.org, stable@dpdk.org 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170518104445.44358-1-shahafs@mellanox.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix wrong completion buffer size X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 12:09:40 -0000 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