Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp418508lqp; Thu, 21 Mar 2024 05:34:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFQusQVN7Hg6nGWmb11WyMGzAbabzQgJCG3jcVCFX1PncxxOp181iNL/WC37GAmwrtewbZvo/XZ+psY9FjiIWm+wbt+NDibJ3yDHQj3Q== X-Google-Smtp-Source: AGHT+IGC4yLrA5ovnGiW+xT6g59v8+lPqyA7C7W60UtmuH/wBUtiqXgC7hoTI/P+cZEcClh9ay+E X-Received: by 2002:a17:906:7db:b0:a46:aed5:2553 with SMTP id m27-20020a17090607db00b00a46aed52553mr6844341ejc.15.1711024487796; Thu, 21 Mar 2024 05:34:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711024487; cv=pass; d=google.com; s=arc-20160816; b=Zaiw/yzigzj0MkdCO0KitEke77LCnPTnEl2Ur+9O8FaQ7HrfMfSEiJyxvkfljUNrpM jF/+JZc2TuvBiZfhKkSzEVpAkE59DQFrUNLnq1g/E8w1vEwcH2kRcmoSX93VjGGbLOgv V6YLEdrrhDt8I+qAJAP0zWBccAjK99ieobC84upOpWkiNVVDQunQk04hJ6/60vXjwYXU /2NcfJI/txE1lXrvg8gIz83e50SfBUyXbT5kOMhOjqxFsd9pxTxNC465hcfO6+8cR9XS OhPjRoKqTapuY0E+3OuzjIBDz0LQbB6ssdk0sVrJMj/jHxkcrsrixeEpclXXFQ85SVmF 7cPg== 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=Ksni23HE56PE09Hiz+91VeVpEPIF60/uFPXtPM8IACQ=; fh=rWwE7VOT7sYfUE8CB6a6B6MmRlp6EETq220jl6w+Kv4=; b=O0a1XxwLUJbPQlfREuhCNh9WmbVC+2WdRZ59/GG1y2e6qv738jLF5gLy7VoXWwpOWr Fdka8uWyFpT4WMCsKAx6e0fRvyzXszUlV2EPQAyHX5VQBmdGCEVHcifKhoJjsornEdRv I/kbRs4OVYgoNFc4EnNg3dGdOGX0BWSqgH9xxGPjGyB5pcx9d7fgH0nNbmDawDBXluZE 1nKklczdUWNtPxL+VKQc1i1jx0hnMS8pnpZm5xZXznSE29VOl6Hs4cKdXan6RxanjBcB 8h8k0DB/zSobI2yembz2S1wQ/+szoxUu2lfkUSUUX5W4DQE5Iz4Vb9mJxKSSHH14RhtH /EJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IupoIiaH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id qb11-20020a1709077e8b00b00a469cf32fe5si6100252ejc.213.2024.03.21.05.34.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 05:34:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IupoIiaH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110037-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 83D761F22DFC for ; Thu, 21 Mar 2024 12:34:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB8DF83CB9; Thu, 21 Mar 2024 12:34:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IupoIiaH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15CE91CA98; Thu, 21 Mar 2024 12:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711024476; cv=none; b=SXU7GvvVspwwhZzOkfvyXnZJ0geDcLDEKa52el5gM83TVacFPTwG8kl+Il/ihMsgR3xFsNMxMAFzvDencj29o3/2XRdXSaDyNiQRp2gfk9YK3E3auUSQE6rsFmJNpkF6W4xj4PCcfXdLQm+utu+i1z/6HGwzXHXuFEvs7B2GjPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711024476; c=relaxed/simple; bh=uPi2SyODpiqaI8VmD98/guq+ThG0Mi4w05ogyWV3xJw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pWPny8evDdfY6VtiiyoqvI3H7eIsc9Uf0Dxn7/+fG99T8lLpZJ6PfTxYwg/Ur22P6cdyVgOpe0SPieUL3nEBT950mNo9grV9R2Q4BOWAnvCrMVCCYu3Y1dJiowJNmjNKo5ZlWj48MpHcA031CRPtcPdaClP6lK9KZiRP94WPWsY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IupoIiaH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AA2CC433C7; Thu, 21 Mar 2024 12:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711024475; bh=uPi2SyODpiqaI8VmD98/guq+ThG0Mi4w05ogyWV3xJw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IupoIiaHXt1bBeWUwRR2h0ZjiSYxXu9kh728RvPTwabwWfDuB7xH3kwqatygCA4Ai Rl+l+jiG+9MEbK2+3kHQ2a/oGHQ4fcHIXvPH0o7a+R8Yf0qvhk2hojF6Iyz2kZPheN JPdhCG0bnpEya4nF1xKjfC1zClkKqYJyXYnjDhpeZeT9fM6quuiP/fYwMDwM8ftbix +ZfKjgwyzsbBYUv1mNfF6oDVaoCfeS0ph9t40fmHitKPuS/HiypF3NLeyy9nk4JX9f XbXESOHjB2BAoW1ZahyOwoX9TOhlwi9O93jcZ9IZZhNCj3wSmghnP7hFEnF0PGVJk1 eGsyDxiSNb8VQ== Date: Thu, 21 Mar 2024 12:34:31 +0000 From: Simon Horman To: Francesco Valla Cc: Oliver Hartkopp , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , fabio@redaril.me, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] Documentation: networking: document CAN ISO-TP Message-ID: <20240321123431.GB356367@kernel.org> References: <20240313223445.87170-1-valla.francesco@gmail.com> <20240313223445.87170-2-valla.francesco@gmail.com> <20240319120625.GI185808@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 20, 2024 at 11:35:05PM +0100, Francesco Valla wrote: > > Hi Simon, > > On Tue, Mar 19, 2024 at 12:06:25PM +0000, Simon Horman wrote: > > 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. > > > > > > Signed-off-by: Francesco Valla > > > > Hi Francesco, > > > > As it looks like there will be a v2 of this patchset > > please consider running checkpatch.pl --codespell > > and addressing the warnings it reports. > > > > Will do before v2, thanks for the suggestion. > > > ... > > > > > +Transport protocol and associated frame types > > > +--------------------------------------------- > > > + > > > +When transmitting data using the ISO-TP protocol, the payload can either fit > > > +inside one single CAN message or not, also considering the overhead the protocol > > > +is generating and the optional extended addressing. In the first case, the data > > > +is transmitted at once using a so-called Single Frame (SF). In the second case, > > > +ISO-TP defines a multi-frame protocol, in which the sender asks (through a First > > > +Frame - FF) to the receiver the maximum supported size of a macro data block > > > +(``blocksize``) and the minimum time time between the single CAN messages > > > +composing such block (``stmin``). Once these informations have been received, > > > > nit: Once this information has > > I never grasped the usage of "information" in English, which is not my > first language. I'll make this correction here. I can't explain it properly, but my basic understanding is that in English information is non-countable and thus has no plural. Water is another example of a non-countable noun. > > > +the sender starts to send frames containing fragments of the data payload > > > +(called Consecutive Frames - CF), stopping after every ``blocksize``-sized block > > > +to wait confirmation from the receiver (which should then send a Flow Control > > > +frame - FC - to inform the sender about its availability to receive more data). > > > + > > > > ... > > Thanks for the review! > > Regards, > Francesco >