Re: [dpdk-dev] [PATCH v3 17/54] ethdev: change device info get callback to return int

2019-09-06 Thread Ferruh Yigit
On 9/6/2019 3:07 PM, Aaron Conole wrote: > Andrew Rybchenko writes: > >> On 9/6/19 4:29 PM, Aaron Conole wrote: >>> Andrew Rybchenko writes: >>> From: Ivan Ilchenko Change eth_dev_infos_get_t return value from void to int. Make eth_dev_infos_get_t implementations across all

Re: [dpdk-dev] [PATCH v3 17/54] ethdev: change device info get callback to return int

2019-09-06 Thread Aaron Conole
Andrew Rybchenko writes: > On 9/6/19 4:29 PM, Aaron Conole wrote: >> Andrew Rybchenko writes: >> >>> From: Ivan Ilchenko >>> >>> Change eth_dev_infos_get_t return value from void to int. >>> Make eth_dev_infos_get_t implementations across all drivers to return >>> negative errno values if case

Re: [dpdk-dev] [PATCH v3 17/54] ethdev: change device info get callback to return int

2019-09-06 Thread Andrew Rybchenko
On 9/6/19 4:29 PM, Aaron Conole wrote: Andrew Rybchenko writes: From: Ivan Ilchenko Change eth_dev_infos_get_t return value from void to int. Make eth_dev_infos_get_t implementations across all drivers to return negative errno values if case of error conditions. Signed-off-by: Ivan Ilchenko

Re: [dpdk-dev] [PATCH v3 17/54] ethdev: change device info get callback to return int

2019-09-06 Thread Aaron Conole
Andrew Rybchenko writes: > From: Ivan Ilchenko > > Change eth_dev_infos_get_t return value from void to int. > Make eth_dev_infos_get_t implementations across all drivers to return > negative errno values if case of error conditions. > > Signed-off-by: Ivan Ilchenko > Signed-off-by: Andrew Rybc

[dpdk-dev] [PATCH v3 17/54] ethdev: change device info get callback to return int

2019-09-06 Thread Andrew Rybchenko
From: Ivan Ilchenko Change eth_dev_infos_get_t return value from void to int. Make eth_dev_infos_get_t implementations across all drivers to return negative errno values if case of error conditions. Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- v3: - fix callback patch to t