🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24237

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

#24237
From: Andrew Lunn
Date: Sun, 29 Nov 2026 21:09
23 lines
9222 bytes
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
Technical Details
Message-ID: <880e060a-0c60-4f77-9836-3d4cc6c3658b@lunn.ch>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373669-linux-kernel-netdev=dewy.ru
References: <20261129-ptp-v1-0-8148c402beaf@birger-koblitz.de> <20261129-ptp-v1-3-8148c402beaf@birger-koblitz.de> <b0be6f63-f8c1-4d6f-99a1-bf709e70dfd1@lunn.ch> <74970c25-597f-4a33-871e-f46db5606acb@birger-koblitz.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373669-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 3/3] net: usb: ax88179: Enable PTP
Date: Sun, 29 Nov 2026 22:09:57 +0100
Organization: Usenet Network
Message-ID: <880e060a-0c60-4f77-9836-3d4cc6c3658b@lunn.ch>
References: <20261129-ptp-v1-0-8148c402beaf@birger-koblitz.de>
 <20261129-ptp-v1-3-8148c402beaf@birger-koblitz.de>
 <b0be6f63-f8c1-4d6f-99a1-bf709e70dfd1@lunn.ch>
 <74970c25-597f-4a33-871e-f46db5606acb@birger-koblitz.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1262460"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:pzvlw1lI0aMJw2w6UlwpXwtGfmQ= sha256:hooq1z/ie84otV1RcBKkMHr4vnlerVdPISXLPRgbwzw=
	sha1:vjUrXLCTocptgSTs0FNC2w6FxIM= sha256:ONFrgeQiPo7UMB6CDdqiQkdC2pBKBP/se+4Ut9yCls0=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 22691125FAF; Mon, 30 Nov 2026 00:10:25 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.05
X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=lunn.ch
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ugCdea9a7mTV;
	Mon, 30 Nov 2026 00:10:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-373669-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 0B790125F08; Mon, 30 Nov 2026 00:10:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id A86BC600BF4; Sun, 29 Nov 2026 21:10:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795986606;
	b=3GFVebO76byJxU2cii12d1TKnvYPgsBCK8XqxoWNiQtgvT3GwtopfBL/MXN5mZ7Q6ADC
	 Kt9LB+vr4EXdtbIdLZbEIaPZXOQ3YZDzMsUBB7lqjUYznPRbqnyFinOCbZso36o9pxr2x
	 BF2bBYoSrJdjvyHYfq7wl+aB+dRF8HU375YAxICu6whywJvz+w1NNTbvJ2FFSrcukKSYx
	 ZI8sH+KxZ014rLlFg+MUaWzXp/XMbBhVrVuF0qtOEXWhDIQVAnE0ujt6XAwbJ/DXtl94l
	 u5rzKUrCGvXAmT4Twml1E1OSq6LjA3hMDe9LtP2BKSgvn1Vq9PQzOa2f6HzzAEU52cw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795986606;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=qyD2bM/t4pLopX3Jhnpxv6ya8xmUfVlAuAjulo860KQ=;
	b=ZhZCvWEs0HJnQPRdIYtKpITjK+WxD8guwQDG5IFXALIYRgjK0QgiTuFVT6nCwyXQPCss
	 Hp8uMykkajjIjcOOQpCAaQKx0DG2Lyb66UC/mCdacH9g9TkCL+IINpRR8SkHOMaA79L+i
	 sUITpBQckM4b9ktDqCJTQpTXlpp4QDfqB0MsjgSf2GFNobKaJpBKr6dHimcLuhtsWhZbF
	 zwNxdA/S9nuxA+7djwo5zNugeJrXBPbx5s1A2wFHKZHcmgutHdfUdDde/b/wDZBGBvtzI
	 LotM8qaOG2mL1O9XCMpXkyd8mgc42lylYqnbsHSX902kamQfpMmUSOD0clgwtTmqNYw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=49CHXPHj;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AE238606A334;
	Sun, 29 Nov 2026 21:10:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=49CHXPHj
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795986605;
	b=mH/6KVTPD3PERnPvSeWNQxT29AE6cmPgaXIFw5A6WkpIRd2uGQge+s/bduQY0II4wUUw
	 dKsisuEtHDxdfgUkitZrsr24afdo7OeN36klpsCYxX8AHSUSscxvZWRUfyr/RuJnLb57O
	 50VDrjC4Wj45fZ3L1N6jUyodlL08Wuwac3zKzTTvRZ+Jaru2ZH4aEC7GsE+hYyFrvK/CT
	 BwD0QgDUmyVB8byIVtc6R74vwJKWx+rXn1epL0OgmgmTss0M320R8RmdnRQpDn76HjGHL
	 xxkCCFG0F7HGp5vDfQtrY7UhbF28B4j6jzUqG+WpVzH3v+Qz0oncBc3Z9xMf5MIGXMg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795986605;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=qyD2bM/t4pLopX3Jhnpxv6ya8xmUfVlAuAjulo860KQ=;
	b=rbMJAxqRbQMjh1PJC8hkdppPSnM2MO1cXwmgcSDrDk/kg4EEl8FNMs/0Arm9+QxfqIP0
	 iFe/QCy6Na1Jhzi02XsvAGoBTnVq4AB8YE3d/8cBgFDkuJUNJRD1ZR9z8jqf06RiWY/S6
	 STURi2B2Jm81w68GTlXsc5nbyy6cQhRAudUIxWDELgZxQ2LgGNb2jQ2rTHPsY/dATQ40c
	 27MYBpybRez7pn5HoTsoafbHPzivkDuPaidzxpe062eJe7vr20fFBcEUsSM18MrwfgN+P
	 RLd5sAbH87vrqp0Vhs6VOXAqC3nTDW1sSLVklftmm4N71RkvrlrZLnhEX8++XFibv4Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=49CHXPHj;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B7D0606A31C;
	Sun, 29 Nov 2026 21:10:05 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B7D0606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=qyD2bM/t4pLopX3Jhnpxv6ya8xmUfVlAuAjulo860KQ=; b=49CHXPHjURBp2qs7Cpzx+9J+af
	5bYIMM5WfN9G34T/K+p+U9oDsXg4Qz/fwKeYQQOfHDeGdZ3lR2Kr7iEHkH7OHaAKaNl1lPQwNP0fs
	VFTsKybvJoBTOhfMU2KjG017g5q2OpoBHA683vGu/b5X7FGAIiJM5xmdQJ5Y7fS+6C8c=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xXm9l-002Cmw-Ep; Sun, 29 Nov 2026 22:09:57 +0100
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Richard Cochran <richardcochran@gmail.com>,
	Russell King <linux@armlinux.org.uk>, netdev@vger.kernel.org,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <74970c25-597f-4a33-871e-f46db5606acb@birger-koblitz.de>