From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 587652BB3 for ; Thu, 10 Nov 2016 17:47:41 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP; 10 Nov 2016 08:47:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,619,1473145200"; d="scan'208";a="900029402" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga003.jf.intel.com with ESMTP; 10 Nov 2016 08:47:39 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.190]) by IRSMSX106.ger.corp.intel.com ([169.254.8.99]) with mapi id 14.03.0248.002; Thu, 10 Nov 2016 16:47:39 +0000 From: "Mcnamara, John" 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/M7XujwX1j6k2ZEny7BFNpUqDSbUww Date: Thu, 10 Nov 2016 16:47:38 +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-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzI0N2UwODktY2VkOC00MDkxLTliMTAtY2I1MTg5M2Y0YTRhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkNjTndTb3p3VVZPVXBiMVwvelpBYldaK1dHTjJcL2Y0bHhPUXlrak81QXdHZz0ifQ== 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:47:41 -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 > error 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: John McNamara