Re: [dpdk-dev] [PATCH v5 3/3] ethdev: allow close function to return an error

2020-10-13 Thread Ferruh Yigit
On 10/13/2020 11:06 AM, Thomas Monjalon wrote: The API function rte_eth_dev_close() was returning void. The return type is changed to int for notifying of errors. If an error happens during a close operation, the status of the port is undefined, a maximum of resources having been freed. Signed-

Re: [dpdk-dev] [PATCH v5 3/3] ethdev: allow close function to return an error

2020-10-13 Thread Thomas Monjalon
13/10/2020 12:41, Andrew Rybchenko: > On 10/13/20 1:06 PM, Thomas Monjalon wrote: > > The API function rte_eth_dev_close() was returning void. > > The return type is changed to int for notifying of errors. > > > > If an error happens during a close operation, > > the status of the port is undefine

Re: [dpdk-dev] [PATCH v5 3/3] ethdev: allow close function to return an error

2020-10-13 Thread Andrew Rybchenko
On 10/13/20 1:06 PM, Thomas Monjalon wrote: > The API function rte_eth_dev_close() was returning void. > The return type is changed to int for notifying of errors. > > If an error happens during a close operation, > the status of the port is undefined, > a maximum of resources having been freed. >