Re: [PATCH net-next 3/3] net: usb: ax88179: Enable PTP

From: Andrew Lunn

Date: Sun Nov 29 2026 - 16:10:14 EST


On Sun, Nov 29, 2026 at 06:24:39PM +0100, Birger Koblitz wrote:
> Thanks Andrew for reviewing this!
>
> On 29/11/2026 4:48 pm, Andrew Lunn wrote:
> > > +static bool ptp_enable;
> > > +module_param(ptp_enable, bool, 0);
> > > +MODULE_PARM_DESC(ptp_enable, "Enable PTP hardware timestamping");
> > > +
> >
> > Module parameters are not liked. Is this needed? Why not always enable
> > it?
> I was not aware of that.

It might not be written down anywhere, one of those things which gets
passed down from generation to generation via the mailing list.

module parameters are hard to use, especially when it is builtin, or
hot pluggable. It is messy to specify which of the 42 different
instances of the device you want the module parameter to apply to,
etc. We much prefer ethtool, or similar.

Andrew