# \[RFC PATCH v2 0/2\] add commandline support for Transmitter Delay Compensation (TDC) in iproute

- From: Vincent Mailhol \<hidden\>
- Date: 2021-05-07 10:28:46 
- List: linux-can
- Page: https://ratatoskr.run/linux-can/2021/05/6360796
- Thread: https://ratatoskr.run/linux-can/2021/05/6360796/t.md

```text
This patch series contains two patches which respectively:
  1. factorize the many print_*(PRINT_JSON, ...) and fprintf
  occurrences in a single print_*(PRINT_ANY, ...) call and fix the
  signedness while doing that.
  2. adds command line support for the TDC in iproute and goes together
  with below series in the kernel:
  https://lore.kernel.org/linux-can/20210506111412.1665835-1-mailhol.vincent@wanadoo.fr/T/#t

For now, I am only sending the kernel mailing list as an RFC. The
patch will be sent to iproute maintainers after the kernel patches
get accepted.


** Changelog **

From RFC v1 to RFC v2:
  * Add an additional patch to the series to fix the issues reported
    by Stephen Hemminger
    Ref: https://lore.kernel.org/linux-can/20210506112007.1666738-1-mailhol.vincent@wanadoo.fr/T/#t

Vincent Mailhol (2):
  iplink_can: use PRINT_ANY to factorize code and fix signedness
  iplink_can: add new CAN FD bittiming parameters: Transmitter Delay
    Compensation (TDC)

 include/uapi/linux/can/netlink.h |  25 +-
 ip/iplink_can.c                  | 402 ++++++++++++++++---------------
 2 files changed, 224 insertions(+), 203 deletions(-)

-- 
2.26.3

```
