From: netdev-bot+sashiko@kernel.org
To: illusion.wang@nebula-matrix.com
Cc: dimon.zhao@nebula-matrix.com, alvin.wang@nebula-matrix.com,
sam.chen@nebula-matrix.com, netdev@vger.kernel.org,
kuba@kernel.org, edumazet@google.com, horms@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v29 net-next 5/8] net/nebula-matrix: dispatch: add control-level routing core infrastructure
Date: Sat, 26 Sep 2026 14:00:31 +0000 [thread overview]
Message-ID: <179043123184.2160803.15291349410665636655@kernel.org> (raw)
In-Reply-To: <20260922120311.86593-6-illusion.wang@nebula-matrix.com>
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] Commit message describes content the patch does not contain: it
claims the patch "adds forward definitions of channel wire ABI…
--
net/nebula-matrix: dispatch: add control-level routing core infrastructure
This patch adds the nbl dispatch layer skeleton: it allocates the dispatch
management structure and ops table, wires init_module/deinit_module
wrappers to the resource ops, and tracks control levels in a ctrl_lvl
bitmap. It also adds four channel parameter structures with size
assertions to nbl_def_channel.h.
> This skeleton establishes dispatch management flow. It adds forward
> definitions of channel wire ABI structures and response enums required
> for later channel RPC framework, without implementing message handling.
[Severity: Low]
Could the "and response enums" part of this sentence be dropped or
corrected? The patch does not appear to add or modify any enum.
The only additions to nbl_def_channel.h are the four structures
nbl_chan_param_cfg_msix_map, nbl_chan_param_set_mailbox_irq,
nbl_chan_param_get_vsi_id and nbl_chan_param_get_eth_id, plus their four
static_assert() size checks:
> diff --git a/drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h b/drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h
> index bf971121d2ecf..c9c99c967037e 100644
> --- a/drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h
> +++ b/drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_channel.h
> @@ -39,6 +40,32 @@ enum nbl_chan_state {
> NBL_CHAN_STATE_NBITS
> };
>
> +struct nbl_chan_param_cfg_msix_map {
> + __le16 num_net_msix;
> + __le16 num_others_msix;
> + __le16 msix_mask_en;
> + __le16 rsvd;
> +};
> +
> +struct nbl_chan_param_set_mailbox_irq {
> + __le16 vector_id;
> + u8 en_msix;
> + u8 rsvd;
> +};
> +
> +struct nbl_chan_param_get_vsi_id {
> + __le16 vsi_id;
> + __le16 type;
> +};
> +
> +struct nbl_chan_param_get_eth_id {
> + __le16 vsi_id;
> + u8 eth_num;
> + u8 eth_id;
> + u8 logic_eth_id;
> + u8 rsvd[3];
> +};
> +
> struct nbl_board_port_info {
> u8 eth_num;
> u8 eth_speed;
[ ... ]
After this patch, enum nbl_chan_msg_type in the same header is still
unchanged from the baseline:
enum nbl_chan_msg_type {
NBL_CHAN_MSG_ACK = 0,
/* mailbox msg end */
NBL_CHAN_MSG_MAILBOX_MAX,
};
and there is no response or return-code enum added anywhere else in the
patch.
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260922120311.86593-2-illusion.wang%40nebula-matrix.com
next prev parent reply other threads:[~2026-09-26 14:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-22 12:02 [PATCH v29 net-next 0/8] nbl driver for Nebulamatrix NICs illusion.wang
2026-09-22 12:02 ` [PATCH v29 net-next 1/8] net/nebula-matrix: add channel layer illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:02 ` [PATCH v29 net-next 2/8] net/nebula-matrix: add common resource implementation illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:03 ` [PATCH v29 net-next 3/8] net/nebula-matrix: add intr " illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:03 ` [PATCH v29 net-next 4/8] net/nebula-matrix: add chip-wide hardware init/deinit implementation illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:03 ` [PATCH v29 net-next 5/8] net/nebula-matrix: dispatch: add control-level routing core infrastructure illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko [this message]
2026-09-22 12:03 ` [PATCH v29 net-next 6/8] net/nebula-matrix: dispatch: implement channel RPC framework and serialize hardware ops illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:03 ` [PATCH v29 net-next 7/8] net/nebula-matrix: add common/ctrl dev init/remove operation illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
2026-09-22 12:03 ` [PATCH v29 net-next 8/8] net/nebula-matrix: add common dev start/stop operation illusion.wang
2026-09-26 14:00 ` netdev-bot+sashiko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179043123184.2160803.15291349410665636655@kernel.org \
--to=netdev-bot+sashiko@kernel.org \
--cc=alvin.wang@nebula-matrix.com \
--cc=dimon.zhao@nebula-matrix.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=illusion.wang@nebula-matrix.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sam.chen@nebula-matrix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®