Re: [PATCH V7 01/10] PCI/IOV: Rename and export virtfn_add/virtfn_remove

2015-06-02 Thread Wei Yang
On Tue, Jun 02, 2015 at 12:19:07PM -0500, Bjorn Helgaas wrote: >On Tue, May 19, 2015 at 06:50:03PM +0800, Wei Yang wrote: >> During EEH recovery, hotplug is applied to the devices which don't >> have drivers or their drivers don't support EEH. However, the hotplug, >> which was implemented based on

Re: [PATCH V7 01/10] PCI/IOV: Rename and export virtfn_add/virtfn_remove

2015-06-02 Thread Bjorn Helgaas
On Tue, May 19, 2015 at 06:50:03PM +0800, Wei Yang wrote: > During EEH recovery, hotplug is applied to the devices which don't > have drivers or their drivers don't support EEH. However, the hotplug, > which was implemented based on PCI bus, can't be applied to VF directly. > > The patch renames v

[PATCH V7 01/10] PCI/IOV: Rename and export virtfn_add/virtfn_remove

2015-05-19 Thread Wei Yang
During EEH recovery, hotplug is applied to the devices which don't have drivers or their drivers don't support EEH. However, the hotplug, which was implemented based on PCI bus, can't be applied to VF directly. The patch renames virtn_{add,remove}() and exports them so that they can be used in PCI