Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp273479pxj; Fri, 7 May 2021 08:20:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNZgc3j20+iaOZP5CtTi0219bdOyS3hPOvG+8Lm+ufl0GWz+etMZRoLQlcDPSTQlQwKjmx X-Received: by 2002:a17:902:a9cb:b029:ed:61be:2cfb with SMTP id b11-20020a170902a9cbb02900ed61be2cfbmr10747591plr.9.1620400801787; Fri, 07 May 2021 08:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620400801; cv=none; d=google.com; s=arc-20160816; b=iLUUVZhqi8InYQvLSg6ap3nguNLjeMAplLpnyaB2iYKzPSZ0vGgzduZzqUw4+xy1ZN +CfdpRG1M31hRruJAmtgykt1FYKOqCYOwJBtFHJObIKaR6u9Y4TNS7RCw/U3xwoEeJvS fkuJFgoUdr0IuqLw96pnXQy/uBFSynZCH3gLiyvwIrS4+bg19MiZLIChCYH2Fui94IWh 2yxBYt3ZLlGVYq4xlVCvoJrMitNSimjN6YVuWtB6rIFR2XWzxWx9CpCZO4HmDlOxFfJP IYNr8reRyNpRI11wmYxojlKfVeJ0t8/DJ/gmSs5JdcsSg/XNuP0bXNw8JI1SnaV1kfPw dcuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=VTzGFvb47mbY9j1m6lzUcf/rtHHIilVCUoZrxsr+6sk=; b=KXy5c+ksGveku10N9nxWaibUNahC4RWPEXm/rdhZWK8a0WsuVEY0MmwcMuM6rmDB1M WqVEd1Q+GlKjME9HthRy9fncCkkasgDkTuIqTzKYsKvaxJW9h9kj/Duen1RZcSPMAwNE oIDY+zCbl3cXJA+t2f72+l34uqBux18ZwZieXGF5JPGHTlOTJuGzMDgElT6lRllYfkxW MI4QbioEcbD78ov0TLD6/c1TYfPv0G1qktjfmwGCTGmGg8+tUO931Y8m+Js+It2ulxCS IsWy5NaUEZfFWk7Oa90L1PHpIHI8ByvYShsDHHHeB4+zU++k0hMyEJXIsnhfx0LQdi6r R8tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 33si7588332plf.38.2021.05.07.08.19.47; Fri, 07 May 2021 08:20:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236548AbhEGK3m (ORCPT + 99 others); Fri, 7 May 2021 06:29:42 -0400 Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:39360 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233112AbhEGK3l (ORCPT ); Fri, 7 May 2021 06:29:41 -0400 Received: from tomoyo.flets-east.jp ([153.202.107.157]) by mwinf5d48 with ME id 1mUT2500A3PnFJp03mUeQs; Fri, 07 May 2021 12:28:41 +0200 X-ME-Helo: tomoyo.flets-east.jp X-ME-Auth: bWFpbGhvbC52aW5jZW50QHdhbmFkb28uZnI= X-ME-Date: Fri, 07 May 2021 12:28:41 +0200 X-ME-IP: 153.202.107.157 From: Vincent Mailhol To: Marc Kleine-Budde , linux-can@vger.kernel.org Cc: Stephen Hemminger , Oliver Hartkopp , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Mailhol Subject: [RFC PATCH v2 0/2] add commandline support for Transmitter Delay Compensation (TDC) in iproute Date: Fri, 7 May 2021 19:28:17 +0900 Message-Id: <20210507102819.1932386-1-mailhol.vincent@wanadoo.fr> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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