From: Andrew Lunn <andrew@lunn.ch>
To: Illusion Wang <Illusion.Wang@nebula-matrix.com>
Cc: Dimon <dimon.zhao@nebula-matrix.com>,
Alvin <alvin.wang@nebula-matrix.com>,
Sam <sam.chen@nebula-matrix.com>, netdev <netdev@vger.kernel.org>,
andrew+netdev <andrew+netdev@lunn.ch>, corbet <corbet@lwn.net>,
kuba <kuba@kernel.org>, linux-doc <linux-doc@vger.kernel.org>,
lorenzo <lorenzo@kernel.org>, pabeni <pabeni@redhat.com>,
horms <horms@kernel.org>,
"vadim.fedorenko" <vadim.fedorenko@linux.dev>,
"lukas.bulwahn" <lukas.bulwahn@redhat.com>,
edumazet <edumazet@google.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: 回复:[PATCH v5 net-next 11/11] net/nebula-matrix: add common dev start/stop operation
Date: Wed, 4 Mar 2026 14:56:22 +0100 [thread overview]
Message-ID: <66a61cf8-7dbf-4b33-b687-b44debf7e726@lunn.ch> (raw)
In-Reply-To: <34c4ed3f-fef6-4c4c-8b0f-9951fedf580c.Illusion.Wang@nebula-matrix.com>
On Wed, Mar 04, 2026 at 03:20:44PM +0800, Illusion Wang wrote:
>
> > > +int nbl_dev_start(struct nbl_adapter *adapter, struct nbl_init_param *param)
> > > +{
> > > + int ret;
> > > +
> > > + ret = nbl_dev_start_common_dev(adapter, param);
> > > + return ret;
>
> >return nbl_dev_start_common_dev(adapter, param);
>
> >But then i have to ask, why bother having nbl_dev_start() when you can
> >just call nbl_dev_start_common().
>
> You're absolutely right. However, we're considering facilitating future
> expansion for the next-stage netdev configuration.
You seem to be over engineering this whole driver. It seems a lot more
complex than it needs to be. Complex drivers take a lot longer to get
merged, some never get merged. Drivers which start KISS, and slowly
get features added get merged a lot faster.
Andrew
prev parent reply other threads:[~2026-03-04 13:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-26 7:38 [PATCH v5 net-next 00/11] nbl driver for Nebulamatrix NICs illusion.wang
2026-02-26 7:38 ` [PATCH v5 net-next 01/11] net/nebula-matrix: add minimum nbl build framework illusion.wang
2026-02-27 22:30 ` Andrew Lunn
2026-02-26 7:38 ` [PATCH v5 net-next 02/11] net/nebula-matrix: add our driver architecture illusion.wang
2026-02-27 22:46 ` Andrew Lunn
2026-02-26 7:38 ` [PATCH v5 net-next 03/11] net/nebula-matrix: add chip related definitions illusion.wang
2026-02-27 22:56 ` Andrew Lunn
2026-03-02 8:00 ` 回复:[PATCH " Illusion Wang
2026-02-26 7:38 ` [PATCH v5 net-next 04/11] net/nebula-matrix: channel msg value and msg struct illusion.wang
2026-02-27 22:57 ` Andrew Lunn
2026-02-26 7:38 ` [PATCH v5 net-next 05/11] net/nebula-matrix: add channel layer illusion.wang
2026-02-27 23:31 ` Andrew Lunn
2026-03-04 2:04 ` 回复:[PATCH " Illusion Wang
2026-02-26 7:38 ` [PATCH v5 net-next 06/11] net/nebula-matrix: add common resource implementation illusion.wang
2026-02-28 20:44 ` Andrew Lunn
2026-02-26 7:38 ` [PATCH v5 net-next 07/11] net/nebula-matrix: add intr " illusion.wang
2026-02-26 7:38 ` [PATCH v5 net-next 08/11] net/nebula-matrix: add vsi " illusion.wang
2026-02-28 20:50 ` Andrew Lunn
2026-02-26 7:38 ` [PATCH v5 net-next 09/11] net/nebula-matrix: add Dispatch layer implementation illusion.wang
2026-02-26 7:38 ` [PATCH v5 net-next 10/11] net/nebula-matrix: add common/ctrl dev init/reinit operation illusion.wang
2026-02-26 7:38 ` [PATCH v5 net-next 11/11] net/nebula-matrix: add common dev start/stop operation illusion.wang
2026-02-28 20:59 ` Andrew Lunn
2026-03-04 7:20 ` 回复:[PATCH " Illusion Wang
2026-03-04 13:56 ` Andrew Lunn [this message]
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=66a61cf8-7dbf-4b33-b687-b44debf7e726@lunn.ch \
--to=andrew@lunn.ch \
--cc=Illusion.Wang@nebula-matrix.com \
--cc=alvin.wang@nebula-matrix.com \
--cc=andrew+netdev@lunn.ch \
--cc=corbet@lwn.net \
--cc=dimon.zhao@nebula-matrix.com \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=lukas.bulwahn@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sam.chen@nebula-matrix.com \
--cc=vadim.fedorenko@linux.dev \
/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®