Re: [dpdk-dev] [PATCH 2/4] net/dpaa2: improve the error handling in dev init

2017-05-12 Thread Ferruh Yigit
On 4/19/2017 2:09 PM, Hemant Agrawal wrote: > Signed-off-by: Hemant Agrawal <...> > - /*Close the device at underlying layer*/ > - ret = dpni_close(dpni, CMD_PRI_LOW, priv->token); > - if (ret) { > - PMD_INIT_LOG(ERR, "Failure closing dpni device with" > -

[dpdk-dev] [PATCH 2/4] net/dpaa2: improve the error handling in dev init

2017-04-19 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index f4c73de..e9800f4 100644 --- a/drivers/net/dpaa2/d