]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iplink_can: print_usage: change unit for minimum time quanta to mtq
authorVincent Mailhol <mailhol@kernel.org>
Wed, 3 Dec 2025 18:24:29 +0000 (19:24 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 7 Dec 2025 17:38:56 +0000 (09:38 -0800)
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@kernel.org>
ip/iplink_can.c

index f3640fe02e49ab68d3d87b7656dc57d06916818e..ee27659c5509646735fb8d13dd9093ac89c93881 100644 (file)
@@ -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"
                );
 }