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=1796454680; b=P4/dhSZ56ZqXTFqE4uX4reDQ2NEU9IkNhikIfk/BDFRjwnNGU9AXDQYLLPkIM9aiDyyZ OHhbG65qWkUCXB1haGiRjwuMdXNNy5r7xczvSwvqDB7G3z6xpg4Dl1hcDjPhY6j6iZcve ikF7u2uekY3N7a0immlelFoo0aV5zPCfNRbOqLyAHSCnpKq0mV7psr1h3FhEeZQL+jjUE fU1amNU5Yqmgl8du9xllXX4ckTm7zxTK3jLaoQetu6Of8QMQXifPT65RFwywC6taNjklt yqHtJID/N+xKaU1bPK0p9Dm2rXOaADp1NaptpjPM2YVcyUdeEAStJaOwt/WvUrPp/XA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796454680; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=f8NBmixf5FG0wrYlTWSWyZDNqkaHk4t+eXWaWXiv3WQ=; b=HgWJt3q8OA2aaXzRNOaWYI8GArmbFOn6QyhNeD2eUVc+cFBAgzu4W4p1kxpbx06tI01r fHSC/QQSi3bb9ZXK1vwmwrN4fWerns7jwBZt7je/U41Src6uRZer130mdMQnMKK0Owq3u Cf9DPmFSCVmSUk6X6Qo5wXihw7vRFH4MqrsbweuaDSlWpiUFByaDZ+8JgR4Pl/ZcmFPga hD9TFAj0JzzLCy8ACFAJy5Nq7J6ITqHEsAlPUCVCFps1ayQ45/vYlZF4Fw4kJJ/e9L8HB /JaacPd2CGQ+ZQref6HzeRLeLFsLIV92mWsLMhebAsRBTzmgkdNtcHyLjrf8wX6U1pg== 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=TxfLRfhs; 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 C72BB606A332 for ; Sat, 5 Dec 2026 07:11:20 +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=TxfLRfhs Received: by smtp.kernel.org (Postfix) with ESMTPSA id 840181F00A07; Sat, 5 Dec 2026 07:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796454680; bh=f8NBmixf5FG0wrYlTWSWyZDNqkaHk4t+eXWaWXiv3WQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=TxfLRfhszSbbPH/uZJi2R5mLeBxnBqXhQNvl5Dkq+spVs+UByCpKM20DRBLDY7PCr Xn4YQbNGk4iUq0Ptb7mUtZXYfso49MohVtbdn80uKdxOA2YvdqPtlAANkiLsWUMQC+ /nYmDyBq9+eqz9+D4tO31bAtRe0sExemXmV9FtdxTWbR9uXTHRg223jdKOVhilzURq 4MXEoWheADpB1CkqNmfowIgpfoNZXcLUEyMSwyU4gcpHccPxZi4kN+obSc96OaPUYa 1cOfzRYhahggPnWctKbMRkxh4N/aA3hwEO5h5JUHygDcKvT0nIhQ/PsixXuKdl2aSn t2NjPr+5VPtKA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH net-next 13/14] net: enetc: add a generic helper to add an NTMP entry by key Reply-To: sashiko-reviews@lists.linux.dev To: wei.fang@oss.nxp.com Cc: imx@lists.linux.dev, Frank.Li@kernel.org In-Reply-To: <20261204071410.692071-14-wei.fang@oss.nxp.com> References: <20261204071410.692071-1-wei.fang@oss.nxp.com> <20261204071410.692071-14-wei.fang@oss.nxp.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 07:11:20 +0000 X-Mailing-List: imx@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] net: enetc: commit message mismatches ntmp_vft_set_entry() and VFT QA changes -- commit b7323b1d467ae9795199341f8412290658233551 Author: Wei Fang > net: enetc: add a generic helper to add an NTMP entry by key > > The Add operations for the IPFT, FDBT and VLAN filter tables share > the same logic: pack the request, issue an "Add then Query" command > so the hardware-allotted entry ID can be read back, and unpack the > response. Three separate functions open-coded this identical flow. > > Add a generic ntmp_add_entry_by_key() helper that takes the table > ID, the update-actions mask and the access method, and convert > ntmp_ipft_add_entry(), ntmp_fdbt_add_entry() and ntmp_vft_add_entry() > into thin wrappers around it. > > With the Add path moved out, ntmp_vft_set_entry() no longer needs to > handle both commands. Turn it into a dedicated ntmp_vft_update_entry() > that always issues NTMP_CMD_UPDATE, and drop the now-redundant command > argument and its validation. > > Signed-off-by: Wei Fang [Severity: Low] Could the commit message be updated to match the actual diff? ntmp_vft_set_entry() had no command validation check left to drop here; it was already removed earlier in the series by commit "net: enetc: decouple VFT logical config from hardware wire format", so this patch only drops the cmd parameter and the NTMP_CMD_AQ unpack branch. Also, the three Add paths were not completely identical: ntmp_vft_set_entry() previously passed query action 0 to ntmp_fill_crd(), whereas ntmp_add_entry_by_key() passes NTMP_QA_ENTRY_ID. It would help reviewers to note this change in the VFT add wire request. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204071410.6920= 71-1-wei.fang@oss.nxp.com?part=3D13