On Wed, 28 Jun 2017 19:07:24 +0800 Jeff Guo <jia....@intel.com> wrote:
> From: "Guo, Jia" <jia....@intel.com> > > This patch enable the hot plug feature in i40e, by monitoring the > hot plug uevent of the device. When remove event got, call the app > callback function to handle the detach process. > > Signed-off-by: Guo, Jia <jia....@intel.com> > --- Hot plug is good and needed. But it needs to be done in a generic fashion in the bus layer. There is nothing about uevents that are unique to i40e or even Intel devices. Plus the way hotplug is handled is OS specific, so this isn't going to work well on BSD. Sorry if I sound like a broken record but there has been a repeated pattern of Intel developers putting their head down (or in the sand) and creating functionality inside device driver.