Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx burst infinite loop

2018-01-24 Thread Ferruh Yigit
On 1/24/2018 10:31 AM, Gaëtan Rivet wrote: > On Wed, Jan 24, 2018 at 10:19:17AM +, Matan Azrad wrote: >> In case of plugged out device, the fail-safe PMD uses failsafe_rx_burst >> function for packet receiving. >> >> This function iterates over the present sub-devices until it >> receives a tra

Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx burst infinite loop

2018-01-24 Thread Gaëtan Rivet
On Wed, Jan 24, 2018 at 10:19:17AM +, Matan Azrad wrote: > In case of plugged out device, the fail-safe PMD uses failsafe_rx_burst > function for packet receiving. > > This function iterates over the present sub-devices until it > receives a traffic from one of them or they are all cannot rece

[dpdk-dev] [PATCH] net/failsafe: fix Rx burst infinite loop

2018-01-24 Thread Matan Azrad
In case of plugged out device, the fail-safe PMD uses failsafe_rx_burst function for packet receiving. This function iterates over the present sub-devices until it receives a traffic from one of them or they are all cannot receive packets. The corrupted code didn't advance the sub-device pointer