[EXTERNAL] Re: [PATCH 4/4] net/netvsc: cache device parameters for hot plug events
Stephen Hemminger
stephen at networkplumber.org
Thu Jan 30 04:59:15 CET 2025
On Wed, 29 Jan 2025 00:10:12 +0000
Long Li <longli at microsoft.com> wrote:
> Another approach is to modify EAL to never delete driver arguments when a device is removed. i.e., It doesn't call rte_devargs_remove() on device removal, instead keep those devargs for the lifetime of the process. Do you think this is a better approach? This will save work if other drivers want to cache devargs list for device hot plug events.
Agree, that having devargs be smart enough to maintain the list for future hotplug is sensible.
Do other drivers that support hotplug have the same issue, or does no one ever use devargs with things like failsafe.
More information about the dev
mailing list