Re: [dpdk-dev] [PATCH v3 25/25] rte_eal_init: add info about rte_errno codes

2017-02-14 Thread Aaron Conole
Stephen Hemminger writes: > On Thu, 9 Feb 2017 09:29:53 -0500 > Aaron Conole wrote: > >> + * The error codes returned via rte_errno: >> + * EACCES indicates a permissions issue. >> + * >> + * EAGAIN indicates either a bus or system resource was not available, >> + *try aga

Re: [dpdk-dev] [PATCH v3 25/25] rte_eal_init: add info about rte_errno codes

2017-02-09 Thread Stephen Hemminger
On Thu, 9 Feb 2017 09:29:53 -0500 Aaron Conole wrote: > + * The error codes returned via rte_errno: > + * EACCES indicates a permissions issue. > + * > + * EAGAIN indicates either a bus or system resource was not available, > + *try again. > + * > + * EALREADY indicates

[dpdk-dev] [PATCH v3 25/25] rte_eal_init: add info about rte_errno codes

2017-02-09 Thread Aaron Conole
The rte_eal_init function will now pass failure reason hints to the application. To help app developers deciper this, add some brief information about what the codes are indicating. Signed-off-by: Aaron Conole --- lib/librte_eal/common/include/rte_eal.h | 27 ++- 1 file