Re: [PATCH v5 1/5] net: rnpgbe: Add build support for rnpgbe

From: Andrew Lunn
Date: Wed Aug 20 2025 - 23:02:35 EST


> Ok, I will improve it.
> By the way, if I want to add some functions(maybe workqueue to handle
> link status, or debugfs for the driver) in the future. The function is
> only one for driver, not each for every pci device, should I turn back to
> 'module_exit' and 'module_init'?
> Maybe workqueue can use 'system_power_efficient_wq' just like libwx
> does?

Generally, you don't have per driver data, only per device data. It
makes the locking simpler, and handling bind/unbind etc.

Andrew