Re: [dpdk-dev] [PATCH v3 01/13] crypto: replace rte_panic instances in crypto driver

2018-04-16 Thread Arnon Warshavsky
This function is only called from locations that return a -errno code, not just > -1. > > Neil Hi Neil Looking up the references I see that some of the places looking at this return value from the probe function simply return their own -1 , and some return different enums relevant for their cont

Re: [dpdk-dev] [PATCH v3 01/13] crypto: replace rte_panic instances in crypto driver

2018-04-16 Thread Neil Horman
On Fri, Apr 13, 2018 at 09:30:32PM +0300, Arnon Warshavsky wrote: > replace panic calls with log and return value. > > -- > v2: > - reformat error message to include literal string in a single line > > Signed-off-by: Arnon Warshavsky > --- > drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 8 +

[dpdk-dev] [PATCH v3 01/13] crypto: replace rte_panic instances in crypto driver

2018-04-13 Thread Arnon Warshavsky
replace panic calls with log and return value. -- v2: - reformat error message to include literal string in a single line Signed-off-by: Arnon Warshavsky --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 8 +--- drivers/crypto/dpaa_sec/dpaa_sec.c | 8 +--- 2 files changed, 10 i