Article View: linux.kernel.netdev
Article #7166Re: [PATCH v32 net-next 6/8] net/nebula-matrix: dispatch: implement channel RPC framework and serialize hardware ops
From: netdev-bot+sashiko
Date: Sun, 25 Oct 2026 09:24
Date: Sun, 25 Oct 2026 09:24
51 lines
9913 bytes
9913 bytes
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] Baseline decision: false (resolved later in the series, retained
only because requires_validation=true).
--
net/nebula-matrix: dispatch: implement channel RPC framework and serialize hardware ops
This patch adds mailbox RPC requests and responders for cfg_msix_map,
destroy_msix_map, set_mailbox_irq, get_vsi_id and get_eth_id. Each op
resolves to a local resource call when has_ctrl is set, or to a channel
RPC to the management PF when has_net is set. The five responders are
registered with the channel layer from nbl_disp_setup_msg().
> nbl_disp_remove() documents why the five responders, which are owned by
> the channel layer, need no explicit unregistration.
[Severity: Low]
Is this paragraph accurate for this patch? The patch does not change
nbl_disp_remove() in nbl_dispatch.c, and at this commit it still reads:
void nbl_disp_remove(struct nbl_adapter *adapter)
{
/* Dispatch structures are allocated via devm */
}
There is nothing there about the responders that nbl_disp_setup_msg()
registers.
The kernel-doc for struct nbl_dispatch_ops in nbl_def_dispatch.h also sends
readers to nbl_disp_remove() for that explanation:
* structures are devm-allocated in nbl_disp_init(), and nbl_disp_remove()
* only documents why no explicit teardown is needed.
The full comment arrives in the next patch in the series, "net/nebula-matrix:
add common/ctrl dev init/remove operation". It explains the teardown order
cancel_work_sync -> nbl_chan_teardown_queue -> nbl_chan_remove_common ->
nbl_chan_remove_msg_handler.
Could this paragraph be dropped from this commit message, or the comment
moved into this patch, so each commit matches its own message?
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261021062113.2158-1-illusion.wang%40nebula-matrix.com
Technical Details
Message-ID:
<179292026679.3134.13737137805222935440@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351517-linux-kernel-netdev=dewy.ruReferences:
<20261021062113.2158-7-illusion.wang@nebula-matrix.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351517-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v32 net-next 6/8] net/nebula-matrix: dispatch: implement channel RPC framework and serialize hardware ops Date: Sun, 25 Oct 2026 09:24:26 +0000 Organization: Usenet Network Message-ID: <179292026679.3134.13737137805222935440@kernel.org> References: <20261021062113.2158-7-illusion.wang@nebula-matrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="978334"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:YFnb/VaNTJhpW2LQGoQnHJQ1hQ8= sha256:BVuP9y0E8IvEcJbPZoZkxv2+xpDG6Iw21xb+RFgbN2c= sha1:hV27hY19iUmltMx482pTafY8bWg= sha256:lvcrXHDCEYTvHFPp6NkzlZh99n++s1Be521bzUYEynU= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 8F378125B2F; Sun, 25 Oct 2026 12:25:15 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.739 X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HCQBK192f26Y; Sun, 25 Oct 2026 12:25:11 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351517-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 02F18125B2D; Sun, 25 Oct 2026 12:25:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id C2C713E38A; Sun, 25 Oct 2026 09:24:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792920269; b=w9LBeKOWJdNgUTlFAtz+5JBCrvCTljNa/Nx9Qepabui+mNKC6jxIH2hEMY/o4EBDteUe X08qmjkNpj5kgQPjdp4GREU4rktgonIGFB1ZNSoip55WojCxRE7TmAYzW7e9hK2liBoze WfQahgstI7SNAb2vG20puJ6+MWIfRSh2eb6cLCpxiWkZKlldcedA9OaTy7QaC/gBLZzTL zp3aHh7RoMgE0lAcdMu9SdB2XoBUrfcTZbxNscM/cFsQtIzaRkKerbyT0fLKAStsupyiP LfE0TN5xSdlIIUQ+O8sapGXi19XZ/Ei1gHyKEHyCgJHjtf8fvDsS/n1UqOcnakCMjdw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792920269; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=t4nEnFfV0UT3yZ846FnXeJLSbq0o0Mt47F1zaTSriuw=; b=FD/h207eKwICwx4dju9/LMBi5r2QadYrPFPMu2lYnIGvMCQwqvZBmQs1y21V78AFcpVS ES3HGK1DTSK5SGJO3ZCxI6BlLDkXBzmUF/1bz4ebH8SdUj88PiT+0AqlHGCT3f9zNwPr0 wfJlyJwUpsFqP6YzDho5q80W+0diIn2RYw/JMG0VGPurCzTZk9d+TfPtlTWKdXYi7kaU4 N+5lYY3KUg+H22rrlNhOAHEB6Ko4oqd0KUZz5vMPMDyYrTWEVI/G0qheU5QWf/DhsekUG Vwx4uMrxcYXw9Ppp9FriOEqb0NU+gdeUcZwoZVzxhCFFqcbDAF05FqEmkj2/9qa7RuA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jpIQe416; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AD79606A32A; Sun, 25 Oct 2026 09:24:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=jpIQe416 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792920268; b=XyQQmpkL82uT5dwQMCEbAFbNyHW1hdlAQtnKYGgP0utpCWWw+I5H04xISzGGJ4hmmeOk MClLa8UOpgrLOGWkuPKEj6/YMyLytS8kmyxM1Lueud+vnqkh4tpTqJ2Phu0FY+tSVMl90 18sQB4uZw3mKYnDiQAIo28Mc5ygxCOV/FmZsPjF3t/YwTP1feVUmr1NOOOaZTaD2ZZ00S TR1UULgdetqWtXoudbdjQ8Me61SM7YH+5RWiHlVmW3SCitwR9yvTi2EiOHqf808tjqDSp +lTKnbAMC1CYHCktRE96x7vohsU875XVvWsWLlgcv0ZA0xLKUCeKF4psGHxxQEH7SLA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792920268; 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=t4nEnFfV0UT3yZ846FnXeJLSbq0o0Mt47F1zaTSriuw=; b=iiLRdvCoymB+i2X5t9BG2oQ9VRnRbIDgv0TUv1HRzABYER90cYjHrK7vQMVrA5Xq4WvE cW7wtai/p5c/lV/zx34NaQtBycKS+XwZGvlE2aWBj+MODEGI3Otj+2dpAsTxSCmYbVC4u jI8nZMkH+5l+0obvZfSBdJ7Ml754p7o+4qPDcaPuvK5suaEoaF+8qqRTWGD3OsGCL4E/d CHKjw1E+vbvrmR7+QqH0AtwKEZchoMMrrEVHuASS44H90VTt8ANml22DQ3iJO2UppYXSS krbcC2XJO1sEeI5QtppoMwyiv3LLbwywbwmGyvXIBjp7uCG2FQ7iRIcIcfsBMgRYRyQ== X-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=jpIQe416; arc=none smtp.remote-ip=100.103.45.18 X-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 12441606A31B; Sun, 25 Oct 2026 09:24:27 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3422B1F01825; Sun, 25 Oct 2026 09:24:27 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792920267; bh=t4nEnFfV0UT3yZ846FnXeJLSbq0o0Mt47F1zaTSriuw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=jpIQe416GfTxRMaN2bHWHeEYJLD4jfYsG9YeRaWJNDLM/qNrMxZS2gvGramOeQiG5 AduUQ3/hbzTnKVrh8+9BkHVA4mp1aO3JefRK+Sv/6voC12ClTpg/99BmNU8KrgFYlA OqTyJTo3PffV0tHD8K4lLdwc/uye4h0q6ih+ieMYGihE+x4Q76url9b7/KHoJv+MFV lfdKZXNc/tJMgMay7e3OTG65jV02vNuYFIUgNnpg1zqcNbzS4E95CcL2DGFpDpHgpT yNlgKWvpJpl8+1MNQbdSDlFmzFFY7nVQnLMn7FHd8SQbGe6N8Osy+/d4aVJ/tP+uja STOrEaD9kDcPg== X-Cc: dimon.zhao@nebula-matrix.com, alvin.wang@nebula-matrix.com, sam.chen@nebula-matrix.com, netdev@vger.kernel.org, kuba@kernel.org, andrew+netdev@lunn.ch, pabeni@redhat.com, edumazet@google.com, horms@kernel.org, linux-kernel@vger.kernel.org X-In-Reply-To: <20261021062113.2158-7-illusion.wang@nebula-matrix.com> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list