From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 32A804D3A for ; Thu, 1 Feb 2018 10:48:37 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D7B7C20BC7; Thu, 1 Feb 2018 04:48:36 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:48:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=1Ne8ZVqJwHNCExaPy MaFfskn1OhQrOlaGsjK2jMurP4=; b=Yv7RCGgdnUD6jSLqaQ8DXHoIhRyJq51oy OQbydTd/8ct9lLcH3fDdhcw5z1iYD/8LOH/p+7HGxE12Ah9cpiN24AWOQJ6pXXM5 lTE93G7GLttMPe324lBOECe6V2CE05IXjJcmnpr0hzx6p+rM4zWgW7S77y43lTe3 VPyAXvIcXS8unRdSDyay8vI44ceQDvpYk4krEgJ97tx+AXJo2vl0TAjBt795LGFU KPHQ4a+5jsXVMgr4ysXkcJklEat8ibkgfx7VRMNbagxKwRYSkgmhnroLjTM3MM+U jqI147fKhumOf/vX1XcmQMYZ2eliOD7c09pLhRiL9kIo2en5yRhjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=1Ne8ZVqJwHNCExaPyMaFfskn1OhQrOlaGsjK2jMurP4=; b=fRAiDVQV lkMlWl0/znTOyDeBhZu1mjn1iEDlwGj6QKNy68Ug4LmW02kTjELPz72/TOk9mBMl ePR5s4328TltuhiVNdRsnpXDoWHqFK1rVmBc1vM0shJTldk4uMAfDbKCusKwvfql Vin1h1B/Zd7t9O88hvluDlH2k1typkUEUhFxmzo1NVXktEFdIdYkdqkY48Iht6gw BuJdWPXE16hFsPrkK2WQxz+T/Bly6fhJ9HrK0ZR45YOZwBT29pXBZlID/DrxiH5j 8INDq03y+Uip8uOMRAqlgtqKLVEf4otfO2a3Fp84KleVEnWa/CWnH5FXpX2ROUBz fGKAqvHYgqgdbA== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id 98705240DE; Thu, 1 Feb 2018 04:48:34 -0500 (EST) From: Yuanhan Liu To: Olivier Matz Cc: Nelio Laranjeiro , dpdk stable Date: Thu, 1 Feb 2018 17:47:27 +0800 Message-Id: <1517478479-12417-13-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> References: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/mlx5: fix return value of start operation' has been queued to LTS release 17.11.1 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: Thu, 01 Feb 2018 09:48:37 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/03/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 961c2a9546f971d394b1dd2dcde7dae55ed2f777 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Mon, 22 Jan 2018 13:33:37 +0100 Subject: [PATCH] net/mlx5: fix return value of start operation [ upstream commit 80554894c4618f6f3bd202565bc881215d99dde6 ] On error, mlx5_dev_start() does not return a negative value as it is supposed to do. The consequence is that the application (ex: testpmd) does not notice that the port is not started and begins the rxtx on an uninitialized port, which crashes. Fixes: e1016cb73383 ("net/mlx5: fix Rx interrupts management") Signed-off-by: Olivier Matz Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index 3540b5d..39c5ec5 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -199,7 +199,7 @@ error: priv_rxq_stop(priv); priv_flow_delete_drop_queue(priv); priv_unlock(priv); - return -err; + return err; } /** -- 2.7.4