[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251203-canxl-netlink-v3-2-999f38fae8c2@kernel.org>
Date: Wed, 03 Dec 2025 19:24:29 +0100
From: Vincent Mailhol <mailhol@...nel.org>
To: netdev@...r.kernel.org, Stephen Hemminger <stephen@...workplumber.org>,
Marc Kleine-Budde <mkl@...gutronix.de>,
Oliver Hartkopp <socketcan@...tkopp.net>, David Ahern <dsahern@...nel.org>
Cc: Rakuram Eswaran <rakuram.e96@...il.com>,
Stéphane Grosjean <stephane.grosjean@...e.fr>,
linux-kernel@...r.kernel.org, linux-can@...r.kernel.org,
Vincent Mailhol <mailhol@...nel.org>
Subject: [PATCH iproute2-next v3 2/7] iplink_can: print_usage: change unit
for minimum time quanta to mtq
In the vast majority of the available CAN datasheets, the minimum time
quanta is abbreviated as "mtq". Note that the ISO standard uses "tqmin"
(with the "min" part as a subscript).
One fact is that no one seems to be using "tc". I was actually the one who
initially proposed to use "tc", but I can not recall anymore the reasoning
behind that.
Change the minimum time quanta unit from "tc" to "mtq" to follow what the
majority of the industry does.
Fixes: 0c263d7c36ff ("iplink_can: add new CAN FD bittiming parameters: Transmitter Delay Compensation (TDC)")
Signed-off-by: Vincent Mailhol <mailhol@...nel.org>
---
ip/iplink_can.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ip/iplink_can.c b/ip/iplink_can.c
index f3640fe0..ee27659c 100644
--- a/ip/iplink_can.c
+++ b/ip/iplink_can.c
@@ -56,9 +56,9 @@ static void print_usage(FILE *f)
"\t PHASE-SEG1 := { NUMBER in tq }\n"
"\t PHASE-SEG2 := { NUMBER in tq }\n"
"\t SJW := { NUMBER in tq }\n"
- "\t TDCV := { NUMBER in tc }\n"
- "\t TDCO := { NUMBER in tc }\n"
- "\t TDCF := { NUMBER in tc }\n"
+ "\t TDCV := { NUMBER in mtq }\n"
+ "\t TDCO := { NUMBER in mtq }\n"
+ "\t TDCF := { NUMBER in mtq }\n"
"\t RESTART-MS := { 0 | NUMBER in ms }\n"
);
}
--
2.51.2
Powered by blists - more mailing lists