[Patch v2] net/netvsc: cache device parameters for hot plug events

Stephen Hemminger stephen at networkplumber.org
Wed Aug 27 19:45:47 CEST 2025


On Tue, 26 Aug 2025 11:15:32 -0700
longli at linuxonhyperv.com wrote:

> From: Long Li <longli at microsoft.com>
> 
> If a device is hot removed and hot plugged, it needs the same driver
> parameters that are passed to EAL. However, during device removal, all
> EAL driver parameters are freed as part of the cleanup.
> 
> Cache those driver parameters for future hot plug events. Because we don't
> know which device will show up, cache all the PCI driver parameters.
> 
> Signed-off-by: Long Li <longli at microsoft.com>

Queued to next-net


More information about the dev mailing list