From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: Re: [PATCH 1/8] net/mlx4: fix Tx packet drop application report Date: Wed, 6 Dec 2017 11:57:42 +0100 Message-ID: <20171206105742.GS4062@6wind.com> References: <1511871570-16826-1-git-send-email-matan@mellanox.com> <1511871570-16826-2-git-send-email-matan@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, stable@dpdk.org To: Matan Azrad Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id A5F971B160 for ; Wed, 6 Dec 2017 11:57:58 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id l141so6433009wmg.1 for ; Wed, 06 Dec 2017 02:57:58 -0800 (PST) Content-Disposition: inline In-Reply-To: <1511871570-16826-2-git-send-email-matan@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 Tue, Nov 28, 2017 at 12:19:23PM +0000, Matan Azrad wrote: > When invalid lkey is sent to HW, HW sends an error notification in > completion function. > > The previous code wouldn't crash but doesn't add any application report > in case of completion error, so application cannot know that packet > actually was dropped in case of invalid lkey. > > Return back the lkey validation to Tx path. > > Fixes: 2eee458746bc ("net/mlx4: remove error flows from Tx fast path") > Cc: stable@dpdk.org > > Signed-off-by: Matan Azrad Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND