Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-15 Thread Gaëtan Rivet
On 02/10/20 17:01 -0700, Long Li wrote: > From: Long Li > > When adding a sub-device, it's possible that the sub-device is configured > successfully but later fails to start. This error should not be masked. > The driver needs to check the error status to prevent endless loop of > trying to start

Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-13 Thread Long Li
>Subject: Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while >handling sub-device add > >On 09/10/20 20:30 +, Long Li wrote: >> >Subject: Re: [dpdk-dev] [PATCH] net/failsafe: check correct error >> >code while handling sub-device add >> &

Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-12 Thread Gaëtan Rivet
On 09/10/20 20:30 +, Long Li wrote: > >Subject: Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while > >handling sub-device add > > > >On 05/10/20 11:42 +0200, Gaëtan Rivet wrote: > >> Hi, > >> > >> On 02/10/20 17:01 -0700, Long

Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-09 Thread Long Li
>Subject: Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while >handling sub-device add > >On 05/10/20 11:42 +0200, Gaëtan Rivet wrote: >> Hi, >> >> On 02/10/20 17:01 -0700, Long Li wrote: >> > From: Long Li >> > >> > When

Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-09 Thread Gaëtan Rivet
On 05/10/20 11:42 +0200, Gaëtan Rivet wrote: > Hi, > > On 02/10/20 17:01 -0700, Long Li wrote: > > From: Long Li > > > > When adding a sub-device, it's possible that the sub-device is configured > > successfully but later fails to start. This error should not be masked. > > Some of those errors

Re: [dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-05 Thread Gaëtan Rivet
Hi, On 02/10/20 17:01 -0700, Long Li wrote: > From: Long Li > > When adding a sub-device, it's possible that the sub-device is configured > successfully but later fails to start. This error should not be masked. Some of those errors are meant to be masked: -EIO, when the device is marked as rem

[dpdk-dev] [PATCH] net/failsafe: check correct error code while handling sub-device add

2020-10-02 Thread Long Li
From: Long Li When adding a sub-device, it's possible that the sub-device is configured successfully but later fails to start. This error should not be masked. The driver needs to check the error status to prevent endless loop of trying to start the sub-device. fixes (ae80146c5a1b net/failsafe: