Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Cc: netdev@vger.kernel.org, stable@vger.kernel.org,
	Yibo Dong <dong100@mucse.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>,
	MD Danish Anwar <danishanwar@ti.com>,
	Vadim Fedorenko <vadim.fedorenko@linux.dev>
Subject: Re: [PATCH v2] net: ethernet: rnpgbe: mark nonfunctional incomplete driver as BROKEN
Date: Wed, 29 Apr 2026 18:27:01 -0700	[thread overview]
Message-ID: <20260429182701.28edde72@kernel.org> (raw)
In-Reply-To: <CADkSEUiRwto-14zkER30WJdiQa2b+OGOZ+2S50pq4doJ37X70Q@mail.gmail.com>

On Wed, 29 Apr 2026 18:13:46 -0700 Ethan Nelson-Moore wrote:
> On Wed, Apr 29, 2026 at 5:54 PM Jakub Kicinski <kuba@kernel.org> wrote:
> > I'm having second thoughts about this. I'm worried users will come to
> > expect that drivers are marked as BROKEN until such time that they
> > can be considered a sufficiently complete replacement for an OOT /
> > vendor driver. This will be highly subjective.  
> 
> I understand your concern, but there is precedent for doing this when
> the driver doesn't work at all.
> 
> The ntsync driver was marked as broken in commit f5b335dc025c ("misc:
> ntsync: mark driver as "broken" to prevent from building") until it
> was fully merged. The BROKEN dependency was then removed in commit
> c301e1fefc2d ("ntsync: No longer depend on BROKEN.")

ntsync is mere 1.2kLoC, that's 10x smaller than typical networking
driver these days, and even (slightly) smaller than rnpgbe(!)

Most in-tree networking drivers play constant catch-up with the OOT
version so they are never "fully merged".

> If it were my decision, I would remove BROKEN from this driver once it
> supports a stable network connection, and perhaps also once it
> survives suspends and resumes, since that is expected in modern
> desktop use cases. I think that is a fairly objective reading of the
> word BROKEN.

That'd require us to know if the device is going to be used on
desktop because for datacenter NICs suspend/resume does not matter.

> It might also be a good idea to agree on expected uses of
> CONFIG_BROKEN and document them in init/Kconfig.
> Currently it says:
>   This option allows you to choose whether you want to try to
>   compile (and fix) old drivers that haven't been updated to
>   new infrastructure.
> which does not fully encompass what it is used for.

Maybe it was written in simpler times, maybe the help message was
aspirational to begin with..

  reply	other threads:[~2026-04-30  1:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28  3:08 [PATCH v2] net: ethernet: rnpgbe: mark nonfunctional incomplete driver as BROKEN Ethan Nelson-Moore
2026-04-30  0:54 ` Jakub Kicinski
2026-04-30  1:13   ` Ethan Nelson-Moore
2026-04-30  1:27     ` Jakub Kicinski [this message]
2026-04-30  1:48       ` Ethan Nelson-Moore

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=20260429182701.28edde72@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=danishanwar@ti.com \
    --cc=davem@davemloft.net \
    --cc=dong100@mucse.com \
    --cc=edumazet@google.com \
    --cc=enelsonmoore@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    --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