Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp206677pxb; Mon, 16 Aug 2021 03:43:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaj+DK2Rr11QvhAGZ+0VEgO77z/SyTDpAJOE37y+01Gg8UgQvUpv3oZG6BPLTdu0ezV36A X-Received: by 2002:a17:907:393:: with SMTP id ss19mr15739554ejb.468.1629110591126; Mon, 16 Aug 2021 03:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629110591; cv=none; d=google.com; s=arc-20160816; b=FN3t/+Z4wWeKqfxsSKM/2yot8DlT9oKXlWhGwjtI06E85WeNftND2E8SQd4esdujan sm9NDVCfvUbKj/NucbwQDJnXSYC1Pbs4k4TkScjGrAlb15vrGIi9/UqOANoDLYrGgjJ6 ytfLvWzWUWmIgVw8ZPYXHyJ87zOhDvKDoKDLLBeU5qHSv0CH+iT7l5RnyL+ERa6Gj0Q7 3s1W0ZzNWw0CxlR8yyu2DV282JKnxUZ0wfZMqoGxdsMzWJKTUZ92N+EACXVN5rz6EsI7 X4TusU1o+ROLDIbkG3pU+o4Ygnr1eDvRokxYN6P56fn8xJMrkMCigN+xEUwhHmDtCRo4 q83A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=wodwPA2/2BJItK5AtPCfMKfcmodGErL8QRoSXIxasSU=; b=ssX5EU5zodsroLxMbaIo2pAMHm3kxw0Qz/YCQQy1aCzSyryri3WsgV0eMmYMj48Oo7 Mzeof/sOhZQY1rfg8zXmM+Us9jdru2wTIuvLzBMx7b54o+TwpyKZM6gK66pbAyBcmSEV MvAt2iDdzUX28YAbcsrtOAcza1ESyVTcCPxJ3hmyMb8myOsXw3Q1HQf4JkSk4polK8ue Bbi2yRpMq1kekMOfmD/zeoy/rShHn6cqYvARb/e+L76x2d+I+QojzG8XlILEy/ZRtYVf rQr/HJZc5wDGWzqHNXGFt7evp1VBxDjogtdvCqcFOHTWViovAREZxQnrke7/g1TnBoJJ BJmA== 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 j7si11847615ejm.492.2021.08.16.03.42.48; Mon, 16 Aug 2021 03:43:11 -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 S233618AbhHPKlg convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Aug 2021 06:41:36 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:39558 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbhHPKlf (ORCPT ); Mon, 16 Aug 2021 06:41:35 -0400 Received: by mail-lj1-f173.google.com with SMTP id q21so4892779ljj.6; Mon, 16 Aug 2021 03:41:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UAgKx9qFimpGqmGeQ3TM0J7Mzn3ZTYhunGpWKj3QW8E=; b=nyexwiSYDeAsM5rhwe390lHcZXxDORt6nUPfzaISmvlk41DyuGEucvb57xenctilfZ +iA02oMlVdWexn0FT3XK+IzBN157tuC0BE0hyeQadaq7rtYDpz1xszCrIZnb8mZAf909 rj/sPDK6J9OAxnHEiWb8bh9dz0XCmgDFV19bWeu7hKU96aLLSP0qKJTz8nbK4e+NZgRw iSlqAgeISYZ6PA10HzkZw2XI+6ZLYxfzkDgtCXlwEWtJ2wBl4+tI3RrokeW38iBGD3TJ YDlR8hv5JDVwnQmqaFcB42oj5Qi1rIKqJBfAMXGFcP3m2HcfYe4UgAAgsJDYLAK+n7hc faCQ== X-Gm-Message-State: AOAM530Y4xMGAieU3C90nfSMdRQyJ7Ku/OaEZvzfctD8+kfwE+AuJNdd /h5gctffoptOR966ig/t/1lfAxkKnpWbCrVkHLs= X-Received: by 2002:a05:651c:24a:: with SMTP id x10mr10915127ljn.60.1629110463281; Mon, 16 Aug 2021 03:41:03 -0700 (PDT) MIME-Version: 1.0 References: <20210814101728.75334-1-mailhol.vincent@wanadoo.fr> <20210814101728.75334-5-mailhol.vincent@wanadoo.fr> <20210816081205.7rjdskaui35f3jml@pengutronix.de> In-Reply-To: <20210816081205.7rjdskaui35f3jml@pengutronix.de> From: Vincent MAILHOL Date: Mon, 16 Aug 2021 19:40:52 +0900 Message-ID: Subject: Re: [PATCH v5 4/4] iplink_can: add new CAN FD bittiming parameters: Transmitter Delay Compensation (TDC) To: Marc Kleine-Budde Cc: Stephen Hemminger , linux-can , =?UTF-8?Q?Stefan_M=C3=A4tje?= , netdev , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon. 16 août 2021 at 17:12, Marc Kleine-Budde wrote: > On 14.08.2021 19:17:28, Vincent Mailhol wrote: > > At high bit rates, the propagation delay from the TX pin to the RX pin > > of the transceiver causes measurement errors: the sample point on the > > RX pin might occur on the previous bit. > > > > This issue is addressed in ISO 11898-1 section 11.3.3 "Transmitter > > delay compensation" (TDC). > > > > This patch brings command line support to nine TDC parameters which > > were recently added to the kernel's CAN netlink interface in order to > > implement TDC: > > - IFLA_CAN_TDC_TDCV_MIN: Transmitter Delay Compensation Value > > minimum value > > - IFLA_CAN_TDC_TDCV_MAX: Transmitter Delay Compensation Value > > maximum value > > - IFLA_CAN_TDC_TDCO_MIN: Transmitter Delay Compensation Offset > > minimum value > > - IFLA_CAN_TDC_TDCO_MAX: Transmitter Delay Compensation Offset > > maximum value > > - IFLA_CAN_TDC_TDCF_MIN: Transmitter Delay Compensation Filter > > window minimum value > > - IFLA_CAN_TDC_TDCF_MAX: Transmitter Delay Compensation Filter > > window maximum value > > - IFLA_CAN_TDC_TDCV: Transmitter Delay Compensation Value > > - IFLA_CAN_TDC_TDCO: Transmitter Delay Compensation Offset > > - IFLA_CAN_TDC_TDCF: Transmitter Delay Compensation Filter window > > > > All those new parameters are nested together into the attribute > > IFLA_CAN_TDC. > > > > A tdc-mode parameter allow to specify how to operate. Valid options > > are: > > > > * auto: the transmitter automatically measures TDCV. As such, TDCV > > values can not be manually provided. In this mode, the user must > > specify TDCO and may also specify TDCF if supported. > > > > * manual: Use the TDCV value provided by the user are used. In this > ^^^^^ ^^^ > singular plural ACK. I fixed that broken grammar in my local branch. As commented before, I will send the next version of the iproute series after we agree on the kernel part (unless someone finds a major issue). FYI, this is the fixed sentence: * manual: use a static TDCV provided by the user. In this mode, the user must specify both TDCV and TDCO and may also specify TDCF if supported. Yours sincerely, Vincent