[dpdk-dev] [PATCH] bond: replace rte_panic with errno code return

Iremonger, Bernard bernard.iremonger at intel.com
Fri May 27 18:13:04 CEST 2016


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski
> Sent: Friday, May 27, 2016 4:21 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] bond: replace rte_panic with errno code return
> 
> 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.
> 
> Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski at intel.com>

Acked-by: Bernard Iremonger<bernard.iremonger at intel.com>





More information about the dev mailing list