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 587EA2C45 for ; Fri, 27 May 2016 18:13:06 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 27 May 2016 09:13:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,374,1459839600"; d="scan'208";a="975844087" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga001.fm.intel.com with ESMTP; 27 May 2016 09:13:06 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.183]) by IRSMSX152.ger.corp.intel.com ([169.254.6.247]) with mapi id 14.03.0248.002; Fri, 27 May 2016 17:13:04 +0100 From: "Iremonger, Bernard" To: "Jastrzebski, MichalX K" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] bond: replace rte_panic with errno code return Thread-Index: AQHRuCuMXrifz0f3QEm6WgP/LMpPLZ/M9HYQ Date: Fri, 27 May 2016 16:13:04 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C21A01177B@IRSMSX108.ger.corp.intel.com> References: <1464362453-5732-1-git-send-email-michalx.k.jastrzebski@intel.com> <1464362453-5732-2-git-send-email-michalx.k.jastrzebski@intel.com> In-Reply-To: <1464362453-5732-2-git-send-email-michalx.k.jastrzebski@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTJjNWMyNTMtZTU3Mi00MDU5LTg0MmEtZDczMTM2YTljNWJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ilk4ZjNzMFhRTmZ0djNEUTJWWTlBNVkzcHdYSnQwWUlnQldYZG9SMnRHdDQ9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] bond: replace rte_panic with errno code return 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: Fri, 27 May 2016 16:13:06 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Friday, May 27, 2016 4:21 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] bond: replace rte_panic with errno code retur= n >=20 > This patch modifies bond_mode_alb_enable function. > When mempool allocation fails errno code is returned instead of rte_panic= . > This allow to decide on application level if it should quit or retry for = mempool > allocation. >=20 > Signed-off-by: Michal Jastrzebski Acked-by: Bernard Iremonger