Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp553685lqb; Thu, 14 Mar 2024 21:55:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkJNX5MCMUWfCLCzytKSHH37plejxx5+VdnIu5y3gT6NuReaeQvmCLgxg6jFGVsU7rsbPOG3J0t7WWqxUkM1CkCYjxfrdjOzO5Lmxsww== X-Google-Smtp-Source: AGHT+IHVuKUGsj2/un4lOZrl6c+6kEhrOUHwa4Rp5l58OO4YSjpNrgOpfQnwLQkxE79sV7l4ovPo X-Received: by 2002:a05:6358:4893:b0:17e:6dd9:d7d1 with SMTP id pe19-20020a056358489300b0017e6dd9d7d1mr4364129rwc.31.1710478524547; Thu, 14 Mar 2024 21:55:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710478524; cv=pass; d=google.com; s=arc-20160816; b=ETV42BqEZrUI2ERbx/QgO0qqZzsnKg+VAd1w/hyK4Hyvqlr3JvsMxYKxd/RtTJXNAb xim0iYZUekQxVJQnkmedQ6f4FIq2k+ib7FT55P9w3Iq1XdtQNFCQ+LAnfAURjhKpRREM oW003RJCzPFD82BWoMQIsnOKAQ3+kTivLBmTwXxuDhLFZDzkSkdgqcmKPx5SAm4Al9Mf gX/AGHhKZPVJqmkkPIfDO6P+fWCQoFkHYeLGDxrRNxNanKQwK8RV1NMM2ngA1zMtgJEC e/pKhhjYbG2+DKTq0Pb10Lq9c+yKxD8bzNhjuJC3NHXmOc765zF+ESyMNs4heCz6209a Ix4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sy55z1v7ImAqObG3bgHcOrhU0C2YzG0eTkBo+B+6A00=; fh=y8s3THNBh6/c9QzHLi0eaa8drKtCG14viUOSZTDDQeY=; b=YrfynHMlvHQHLNEOIN38b3K8KjAJmEclGBVSHOg9FEkhNZmbtJix5eWW6kIb9BnfMb ytHRszu2u+fd9uZbARE7SRSR+f0HyHyda7SMLWBwhtamGZTrZovkgUYNpo19U7s7VdIB ApsHsqmsi/frehzj01sBp5bfsFBap88JQ0EQcPZ8a8OKGj6mfAp4GDT8d1VilKgc30S8 jFVEnNMvX4nVrPJ1ZzdC9W7NBGP6qoGeIvJCNCaQdKUJgHRT4d5fhPp6NNywID66uVDZ h2PZnwfW69UrLJ3KA9WBIBgoSz0W6Wl8VG28fjoNXiL2BsdXmP5TZpUp8wC2756W4Bqz PlSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V3gGFGmj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-104059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lb13-20020a056a004f0d00b006e68d11c37bsi2743770pfb.396.2024.03.14.21.55.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 21:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V3gGFGmj; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-104059-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2D39D2836FF for ; Fri, 15 Mar 2024 04:55:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AF9AFBE8; Fri, 15 Mar 2024 04:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V3gGFGmj" Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E2EBDDBC; Fri, 15 Mar 2024 04:55:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710478512; cv=none; b=Cj4UOkatwSbivggwUbleC9a2A3cISPezRtTt1BeT5AN4KlV7pnzFhnv/Yp8Uvqd7ZZrAiIyyaAB2+GMECzORlnINnnbtq65YG74D81hbbJ8ATASeM9AmuC+VbZD2aeBZBot1pb+cKIlMFVJ4NTxSZNFXAwdMXo2QmYUqMLxQDB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710478512; c=relaxed/simple; bh=kuYqgS+eHSo2SJueMeRRReARRlujmtetW3lucMvyfZQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n/5qmtcF/dgdhEzWlQxK31SxaZYHGmYJQtGx5iqYfGlPhtQwtEekrOuix6QEOmXDEqB+xrK98mnajSZd1UtS/11UY1M6q3ZhoDkBFrBb3vjBOL1yjktJbs/QC4lzLykBSOxZoFQ+U4qWJcBLGwwyn/uvvXtvgPl8J/CI0QHqnXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=V3gGFGmj; arc=none smtp.client-ip=209.85.160.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-221830f6643so985593fac.2; Thu, 14 Mar 2024 21:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710478509; x=1711083309; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sy55z1v7ImAqObG3bgHcOrhU0C2YzG0eTkBo+B+6A00=; b=V3gGFGmjDXuN/fZ31CcXlsbGsB95ZIoxfh9ZZnlDI2jLMS5+P1k91lgbapI4UAizIT Z5ehmDDn3a8WWA3puTY4hBwmVLWFlKu7X5lekeJtmbfRju0S9H1dbTKeIGWA+AlxgEfQ GxOJcHE/5Hi8iExOO+egwK1UDv2W/l9kX7kwUeuKRUo93x6lPngqdD4P0J/r/hB8pNJZ nrEBae+wSCgicjaY4nbt/DSWUNzJO4OUHk9O3JRcXUn3mhzbwoqP6L1IrQbo/yksHbKp DbXQs7cusGO2Y3ZWyz7mxK19BAZyUjZIpry1bgP7gUSf1TC2aiB1nOGfazXvogswhCV2 HCjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710478509; x=1711083309; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sy55z1v7ImAqObG3bgHcOrhU0C2YzG0eTkBo+B+6A00=; b=v9fRTBd4PIxf6ndOivfGPZ/aCVritf+dTvVl1RnoZhnNyUwfsrT/6mSSthdRS7/fF0 hyIJNyXWMpCBXCNbyXvFiXpioSjL612MnY3u+HUmhOpOsCFywHP/N+RrTiKiTBFgK9TY Wzt1ufdHWkEYwIOwGytJd+B9TV5OMlzIcXe/ShhxurpfW6RfnhTaCivVhi+RT7KOK7YV dcZllVzVYE8OSdh3/JmmiQDXOtDRMaw1Szw7Hkldt1XNWbCXfPrnS9/jsd0r2luyJ9LN vtOfp3jCprdxGvjt16JQcnPtOBGRu1G7HrMdRNnAZm16jYVhfifvas1Vt9LPXTU9vh9v kH1Q== X-Forwarded-Encrypted: i=1; AJvYcCXoKNLg2LK+dmybCC6UCR1DmSaW90BnOQTDF6ia2Wa6Gg0ZaAnKyqV4kkOd/epypXTqPXr/UA5bKuKn9lxkWEwJiglPIV8Iy+jqp+QkC6JNsiIyJeODTMO8VqjrGu2u1+85vjQge1K7RjWXePgh+4forIPrGZ6guE+f017fZkLo X-Gm-Message-State: AOJu0Yz3Z8Ekcg/Zi6EVUyL6XZUFTNa6LOVGMS3VUMgyWi0vrt+vZ10j oXDynhd/nKL8nKxAJZPZrUSbswSzx/su+RPjpqs0uvW0mMpHsb9v X-Received: by 2002:a05:6870:e40c:b0:220:9c43:527f with SMTP id n12-20020a056870e40c00b002209c43527fmr3997394oag.20.1710478509466; Thu, 14 Mar 2024 21:55:09 -0700 (PDT) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id i3-20020a056a00004300b006e56e5c09absm2495808pfk.14.2024.03.14.21.55.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 21:55:08 -0700 (PDT) Received: by archie.me (Postfix, from userid 1000) id CEDBE1834EB84; Fri, 15 Mar 2024 11:55:04 +0700 (WIB) Date: Fri, 15 Mar 2024 11:55:04 +0700 From: Bagas Sanjaya To: Francesco Valla , Oliver Hartkopp , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: fabio@redaril.me, Linux CAN , Linux Networking , Linux Kernel Mailing List Subject: Re: [PATCH 1/1] Documentation: networking: document CAN ISO-TP Message-ID: References: <20240313223445.87170-1-valla.francesco@gmail.com> <20240313223445.87170-2-valla.francesco@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cMqm9YFyElqZ6FQo" Content-Disposition: inline In-Reply-To: <20240313223445.87170-2-valla.francesco@gmail.com> --cMqm9YFyElqZ6FQo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 11:34:31PM +0100, Francesco Valla wrote: > Document basic concepts, APIs and behaviour of the CAN ISO-TP (ISO > 15765-2) stack. >=20 > Signed-off-by: Francesco Valla > --- > Documentation/networking/index.rst | 1 + > Documentation/networking/isotp.rst | 347 +++++++++++++++++++++++++++++ > 2 files changed, 348 insertions(+) > create mode 100644 Documentation/networking/isotp.rst >=20 > diff --git a/Documentation/networking/index.rst b/Documentation/networkin= g/index.rst > index 473d72c36d61..ba22acfae389 100644 > --- a/Documentation/networking/index.rst > +++ b/Documentation/networking/index.rst > @@ -19,6 +19,7 @@ Contents: > caif/index > ethtool-netlink > ieee802154 > + isotp > j1939 > kapi > msg_zerocopy > diff --git a/Documentation/networking/isotp.rst b/Documentation/networkin= g/isotp.rst > new file mode 100644 > index 000000000000..d0c49fd1f5c9 > --- /dev/null > +++ b/Documentation/networking/isotp.rst > @@ -0,0 +1,347 @@ > +.. SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +ISO-TP (ISO 15765-2) Transport Protocol > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Overview > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > + ... > +Multi-frame transport support > +-------------------------- > + htmldocs build reports new warnings: /home/bagas/repo/linux-kernel/Documentation/networking/isotp.rst:3: WARNING= : Title overline too short. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ISO-TP (ISO 15765-2) Transport Protocol =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /home/bagas/repo/linux-kernel/Documentation/networking/isotp.rst:275: WARNI= NG: Title underline too short. Multi-frame transport support -------------------------- /home/bagas/repo/linux-kernel/Documentation/networking/isotp.rst:275: WARNI= NG: Title underline too short. Multi-frame transport support -------------------------- I have applied the fixup: ---- >8 ---- diff --git a/Documentation/networking/isotp.rst b/Documentation/networking/= isotp.rst index d0c49fd1f5c976..a104322ddb6c5e 100644 --- a/Documentation/networking/isotp.rst +++ b/Documentation/networking/isotp.rst @@ -1,11 +1,11 @@ .. SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) =20 -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ISO-TP (ISO 15765-2) Transport Protocol -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Overview -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D =20 ISO-TP, also known as ISO 15765-2 from the ISO standard it is defined in, = is a transport protocol specifically defined for diagnostic communication on CA= N. @@ -272,7 +272,7 @@ differ less than this value will be ignored: ret =3D setsockopt(s, SOL_CAN_ISOTP, CAN_ISOTP_RX_STMIN, &stmin, sizeo= f(stmin)); =20 Multi-frame transport support --------------------------- +----------------------------- =20 The ISO-TP stack contained inside the Linux kernel supports the multi-frame transport mechanism defined by the standard, with the following contraints: Thanks. --=20 An old man doll... just what I always wanted! - Clara --cMqm9YFyElqZ6FQo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZfPUpQAKCRD2uYlJVVFO o73wAQDERSr+/nrCFF3ABsynpWMhm0W49Hz7Mbnp35GWaUjHGgD+N3CBjHNmTE/6 vqLdFN0v+CnC/+8xthT0YQAymMIqSQs= =Cxya -----END PGP SIGNATURE----- --cMqm9YFyElqZ6FQo--