[dpdk-dev] [PATCH v2 2/2] net/i40e: add hot plug monitor in i40e

Stephen Hemminger stephen at networkplumber.org
Thu Jun 29 05:34:41 CEST 2017

On Wed, 28 Jun 2017 19:07:24 +0800
Jeff Guo <jia.guo at intel.com> wrote:

> From: "Guo, Jia" <jia.guo at 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.guo at 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.

More information about the dev mailing list