From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 2C9A4D4C0 for ; Thu, 10 Nov 2016 17:48:21 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP; 10 Nov 2016 08:48:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,619,1473145200"; d="scan'208";a="29864958" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga005.jf.intel.com with ESMTP; 10 Nov 2016 08:48:19 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.210]) by IRSMSX151.ger.corp.intel.com ([169.254.4.28]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 16:48:18 +0000 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" , "dev@dpdk.org" CC: Reshma Pattan Thread-Topic: [dpdk-dev] [PATCH] pdump: fix log message to display correct error number Thread-Index: AQHSO2/ArgHSGJDa0ESOdY0essuALKDSa+ZA Date: Thu, 10 Nov 2016 16:48:18 +0000 Message-ID: References: <1478795380-16975-1-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1478795380-16975-1-git-send-email-reshma.pattan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGM4M2NiZDItYzRmYy00MTg1LWE2NjctOTcwZmMzNzA1MTdiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ilh6dHltY2VGNm5Ibzhmd0dwMDl4aTNPR0ZzRXFrZEwwdlJtUWV5cW9LNlU9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] pdump: fix log message to display correct error number X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 16:48:21 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Thursday, November 10, 2016 4:30 PM > To: dev@dpdk.org > Cc: Reshma Pattan > Subject: [dpdk-dev] [PATCH] pdump: fix log message to display correct err= or > number >=20 > The ethdev Rx/Tx remove callback apis doesn't set rte_errno during > failures, instead they just return negative error number, so using > that number in logs instead of rte_errno upon Rx and Tx callback > removal failures. >=20 > Fixes: 278f9454 ("pdump: add new library for packet capture") >=20 > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara