Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx clean race

2017-10-26 Thread Ferruh Yigit
On 10/26/2017 9:20 AM, Gaëtan Rivet wrote: > Hello Matan, > > I think the commit log could be shorter. > Proposing this, feel free to expand it if you prefer. > > ---8<--- > > When removing a device, the fail-safe checks that it is not within its > datapath before cleaning it. > > When checking

Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx clean race

2017-10-26 Thread Gaëtan Rivet
Hello Matan, I think the commit log could be shorter. Proposing this, feel free to expand it if you prefer. ---8<--- When removing a device, the fail-safe checks that it is not within its datapath before cleaning it. When checking whether an Rx burst should be performed on a device, the remove

[dpdk-dev] [PATCH] net/failsafe: fix Rx clean race

2017-10-21 Thread Matan Azrad
In case of plug out, the RMV interrupt callback sets the remove flag of the removed sub-device. The next hotplug alarm cycle should read this flag and if the data path are clean it should remove the sub-device. In case of fail-safe RX burst calling from application, fail-afe tries to call to all S