[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b3095bbe-81b5-4062-8662-c5fb1e0f2b4b@lunn.ch>
Date: Sun, 12 Oct 2025 18:04:02 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Vincent Mailhol <mailhol@...nel.org>
Cc: Oliver Hartkopp <socketcan@...tkopp.net>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, Jonathan Corbet <corbet@....net>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] can: add Transmitter Delay Compensation (TDC)
documentation
On Mon, Oct 13, 2025 at 01:01:15AM +0900, Vincent Mailhol wrote:
> Hi Andrew,
>
> On 12/10/2025 at 23:47, Andrew Lunn wrote:
> > On Sun, Oct 12, 2025 at 08:23:43PM +0900, Vincent Mailhol wrote:
> >> Back in 2021, support for CAN TDC was added to the kernel in series [1]
> >> and in iproute2 in series [2]. However, the documentation was never
> >> updated.
> >
> > Hi Vincent
> >
> > I also don't see anything in man ip-link, nor ip link help. Maybe you
> > can add this documentation as well?
>
> The help is indeed not directly visible. But I think this is intended
> because can is a sub type. The can is simply listed in man ip-link
> under the Link types enumeration.
>
> The can help then be obtain by providing that can type:
>
> $ ip link help can
> Usage: ip link set DEVICE type can
> [ bitrate BITRATE [ sample-point SAMPLE-POINT] ] |
> [ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1
> phase-seg2 PHASE-SEG2 [ sjw SJW ] ]
> [ dbitrate BITRATE [ dsample-point SAMPLE-POINT] ] |
> [ dtq TQ dprop-seg PROP_SEG dphase-seg1 PHASE-SEG1
> dphase-seg2 PHASE-SEG2 [ dsjw SJW ] ]
> [ tdcv TDCV tdco TDCO tdcf TDCF ]
O.K. Great, thanks for pointing this out.
Andrew
Powered by blists - more mailing lists