Re: [dpdk-dev] [PATCH v2 1/4] bus/pci: handle device hot unplug

2018-06-26 Thread Guo, Jia
hi, gaetan, thanks for your review, see comment as bellow On 6/22/2018 8:59 PM, Gaëtan Rivet wrote: Hi Jeff, Sorry, I followed this development from afar, I have a remark regarding this API, I think it can be made simpler. Details below. On Fri, Jun 22, 2018 at 07:51:05PM +0800, Jeff Guo wro

Re: [dpdk-dev] [PATCH v2 1/4] bus/pci: handle device hot unplug

2018-06-22 Thread Gaëtan Rivet
Hi Jeff, Sorry, I followed this development from afar, I have a remark regarding this API, I think it can be made simpler. Details below. On Fri, Jun 22, 2018 at 07:51:05PM +0800, Jeff Guo wrote: > When a hardware device is removed physically or the software disables > it, the hot unplug occur. A

[dpdk-dev] [PATCH v2 1/4] bus/pci: handle device hot unplug

2018-06-22 Thread Jeff Guo
When a hardware device is removed physically or the software disables it, the hot unplug occur. App need to call ether dev API to detach the device, to unplug the device at the bus level and make access to the device invalid. But the problem is that, the removal of the device from the software list