From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796070305; b=RKifr9XV6uuyLA3GFhIK14zFJsR7SYewNMENYuNFEdmrLM2iWFZsCKI8w4dcPYIwJrNO rKZmh288bOAm2nv1JGVJ0SsQC87retqCNwI+Li9jALhO8iOMNxZUlZ9AVLDTdlYN58+u/ GYmQ6A1MK2M3uVj1IkaLMti353ci7qbG368YSfKxIGxIoFyniV2K7lEArM9cezlUrYkBG 94nXi3C5Ba60snHlL0K49bU+NcMd5oMH6GwaDSsmvw17fQFTB24EY758LAeCwkV0zKPNj EuDX0Yo3yHV/ghO0jmxoUOxzDEI3+ehVIvC+Hx5/C8gcE981pJTtXvsGlJCWWD8F6XA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796070305; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=qln6GUoiSqHlUiI/XNq/JzHKTBbTBpdCGZCBptYXV/I=; b=ln6LgA6kKoKjH3JNHyLQE8Y35vCvyyS8DKMdZMcoQNLgoulYFnKnwv9Y9+C27g4wLcj5 b6Pfbuz72F6wWAiCPSMXSyuqIz6ORZ5rEe5rCwZkStTv1AkpDC9R9AM2vYReV/KpAdtQX WY039DhHzIdqHnXsnLWpHZRBSYDdroNA0r3LibySiWc4odpHEaLw2qimC+PrHeh+OlHZK +gV9uWo+qp5wemLUeZuLFBB+JZJF5NQfv2lZp0fbjIVkdUEramhOHmjCDpSDBJDzjA9Kr sl47vmD0pBSsHc8yD5n/JGLM4RsQQ4Z2Pdccivmw3BOFP9lfPa6hYCtlyF11zbpq1qg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JlPPSq6c; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0B80606A31A for ; Mon, 30 Nov 2026 20:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JlPPSq6c Received: by smtp.kernel.org (Postfix) with ESMTPSA id 440511F000C1; Mon, 30 Nov 2026 20:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796070305; bh=qln6GUoiSqHlUiI/XNq/JzHKTBbTBpdCGZCBptYXV/I=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=JlPPSq6c9JXKacW9KHX3kWvt3tk7mqvd2BoAvBS+C701z0+4u8oT4vJFSVzpwv3im 5izgyLBOeYQWF+X3qbZUo473U249IXD/fAYkm3K0N+MjASfh7DSR6Io8UD0DrVpQn4 RO+Lbq40Em84s5wXhOcqZhG4dUxTapacdrKHLwjXSOcoFw//sZ763wesmJ3O4Zs2mb StFTN/sFywZRwIG53qYrTUaskQ3Z/RvviJq6ARtLN64E9HFiHPFcDZFiErOutoyzDv khNc7lUVZEzvG9709i2DenXElxRBPRNLxaGhyhdjXIgNmK+vmOVltPn2XX3hOnMcHo U6MVjb96c6+BQ== Subject: Re: [PATCH can-next v2 06/22] can: isotp: add the frame transmission time to the CF broadcast gap From: netdev-bot+sashiko@kernel.org To: socketcan@hartkopp.net Cc: linux-can@vger.kernel.org, mkl@pengutronix.de, kuba@kernel.org Date: Mon, 30 Nov 2026 20:25:04 +0000 Message-ID: <179607030485.3142.1104190171984989017@kernel.org> In-Reply-To: <20261128-getsockopt-memcg-isotp-v2-6-034ba95e17a4@hartkopp.net> References: <20261128-getsockopt-memcg-isotp-v2-6-034ba95e17a4@hartkopp.net> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: linux-can@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] The patch fixes a real uAPI documentation error, but it carries no Fixes: tag and bundles that fix with an unrelated change to… -- can: isotp: add the frame transmission time to the CF broadcast gap In CAN_ISOTP_CF_BROADCAST mode, this commit adds the frame transmission time (N_As) to the consecutive frame gap. It does so with and without the CAN_ISOTP_FORCE_TXSTMIN flag, and documents the gap in iso15765-2.rst. It also changes the documented unit of the CAN_ISOTP_TX_STMIN and CAN_ISOTP_RX_STMIN socket options from microseconds to nanoseconds. > diff --git a/Documentation/networking/iso15765-2.rst b/Documentation/networking/iso15765-2.rst > index 37ebb2c417cb4..badcd16c070bb 100644 > --- a/Documentation/networking/iso15765-2.rst > +++ b/Documentation/networking/iso15765-2.rst [ ... ] > @@ -286,7 +289,7 @@ Transmission stmin > ~~~~~~~~~~~~~~~~~~ > > The transmission minimum separation time (stmin) can be forced using the > -``CAN_ISOTP_TX_STMIN`` optname and providing an stmin value in microseconds as > +``CAN_ISOTP_TX_STMIN`` optname and providing an stmin value in nanoseconds as > a 32bit unsigned integer; this will overwrite the value sent by the receiver in > flow control frames: > > @@ -299,7 +302,7 @@ Reception stmin > ~~~~~~~~~~~~~~~ > > The reception minimum separation time (stmin) can be forced using the > -``CAN_ISOTP_RX_STMIN`` optname and providing an stmin value in microseconds as > +``CAN_ISOTP_RX_STMIN`` optname and providing an stmin value in nanoseconds as > a 32bit unsigned integer; received Consecutive Frames (CF) which timestamps > differ less than this value will be ignored: [Severity: Low] This isn't a bug, but should this unit correction have a Fixes: tag and go in its own patch? The commit message says "Additionally fix the unit of the values of the CAN_ISOTP_TX_STMIN and CAN_ISOTP_RX_STMIN socket options". The microseconds wording came from: Fixes: 67711e04254c ("Documentation: networking: document ISO 15765-2") The setsockopt handler stores the value without converting it. The value is then used as nanoseconds in isotp_rcv_fc(), isotp_sendmsg() and isotp_rcv_cf(). On a stable kernel, a user who follows the current text and passes 1000 for CAN_ISOTP_TX_STMIN expects 1 ms but gets 1 us. This patch also changes the CF broadcast gap in isotp_sendmsg(). Stable trees can't take the documentation fix without that timing change too. Other patches in this series explain why they leave out a Fixes: tag, for example "can: isotp: drop frames without N_PCI" and "can: isotp: check the minimum FF_DL". This commit doesn't give a reason. -- Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261128-getsockopt-memcg-isotp-v2-0-034ba95e17a4%40hartkopp.net