Re: [PATCH net-next v6 1/2] net: pse-pd: add pse_poll_helper()

From: Kory Maincent

Date: Wed Dec 02 2026 - 12:47:03 EST




On 12/2/26 18:35, Carlo Szelinsky wrote:
Hi Kory,

I would prefer here to use an internal sub structure with its content
not accessible from the drivers.

Makes sense. poll_interval_ms is the only field a driver sets, so I
would make it a pse_poll_helper() argument and hide the rest. Is that
ok for you?

Wondering if there is an interest of having this polling time configurable in the driver. This is not really related to the hardware, right? Do you have in mind a case were we would like to have a driver change this value? If not, set it to the default for now and we will change it in the future if the need raise.

I am glad to see this development and have tested it on a new project
that does not have the interruption line wired. So you have saved some
of my time. Thank you!

Thanks for testing! Happy to add your Tested-by if you try v7.

Yes, will surely do.

--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com