Re: [dpdk-dev] [PATCH 1/2] eal/hotplug: allow monitor to be setup by multiple places

2020-12-17 Thread Long Li
> Subject: Re: [dpdk-dev] [PATCH 1/2] eal/hotplug: allow monitor to be setup > by multiple places > > On Mon, 2020-11-30 at 23:56 -0800, Long Li wrote: > > From: Stephen Hemminger > > > > In some cases, a device or infrastructure may want to enable hotplug > &

Re: [dpdk-dev] [PATCH 1/2] eal/hotplug: allow monitor to be setup by multiple places

2020-12-17 Thread Luca Boccassi
On Mon, 2020-11-30 at 23:56 -0800, Long Li wrote: > From: Stephen Hemminger > > In some cases, a device or infrastructure may want to enable hotplug > but application may also try and start hotplug as well. Therefore > change the monitor_started from a boolean into a reference count. > > Signed-

[dpdk-dev] [PATCH 1/2] eal/hotplug: allow monitor to be setup by multiple places

2020-11-30 Thread Long Li
From: Stephen Hemminger In some cases, a device or infrastructure may want to enable hotplug but application may also try and start hotplug as well. Therefore change the monitor_started from a boolean into a reference count. Signed-off-by: Stephen Hemminger Signed-off-by: Long Li --- lib/libr