DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@amd.com>
To: "Morten Brørup" <mb@smartsharesystems.com>,
	techboard@dpdk.org, maxime.coquelin@redhat.com
Cc: dev@dpdk.org, andrew.rybchenko@oktetlabs.ru,
	Christian Koue Muf <ckm@napatech.com>,
	Renyong Wan <wanry@3snic.com>
Subject: Re: Process for adding a new driver?
Date: Mon, 18 Sep 2023 12:46:21 +0100	[thread overview]
Message-ID: <f4882def-f00d-47af-8b5a-83b306d6f9b0@amd.com> (raw)
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87BB8@smartserver.smartshare.dk>

On 9/18/2023 8:08 AM, Morten Brørup wrote:
> Dear DPDK tech board,
> 
> The process for adding a new library to DPDK is well documented [1].
> 
> What is the process for adding a new (NIC) driver?
> 
> It seems like the task of reviewing NIC PMDs from vendors other than Broadcom/Intel/Marvell/NVIDIA falls entirely on the next-net tree maintainers, Ferruh and Andrew, which doesn't seem like a reasonable burden.
> 

Ack.
Also for the vendors that has specific tree, new drivers are still
reviewed by next-net maintainers.

> The Napatech driver is too large for Ferruh to review, which in my opinion [2] is an unreasonable argument for not accepting it.
> 

Nope, this is not the exact reason for not accepting.

I tried explain on reply to below thread, but briefly main reason is, it
is a big chunk of code to be consumed by anyone, not just me, like the
consumers of that device.

Target is to improve the quality, if the driver split into per feature
patches, even if I can't find review comments to improve the quality, it
enables others (more smarter reviewers) to improve the code.

> And the 3SNIC driver got no attention by any reviewers [3]. (Although Stephen did provide some basic feedback after they polled for review.)
> 

True, unfortunately.
This is different issue from the Napatech one, and this is more a
bandwidth issue, so I think we can discuss these two separately.

I mentioned about this on DPDK summit meeting, it helps to have pipeline
of reviewers, like when I am not available I should know that Morten
will be doing the driver reviews.
There are many vendors actively contributing to DPDK, their support to
add more reviewers to next-net is appreciated.


> Overall, I think we should put much more trust in hardware vendors to provide high quality drivers for their hardware. We want vendors to upstream their drivers, with all the benefits of having the code public. If we make it too difficult, they will simply keep their drivers private instead.
> 

Agree that this is another approach worth considering.

This may work for some cases, the vendor trees are sample of it already,
but those are the ones already part of the community for a while and
have their track record, do we want to give same level of trust by default?

Or we can even lower the bar to accept any code from any vendor by
default, assuming CI checks are in place, this still won't help on
discussions like if driver should have side channel socket interface or
not etc.. And in this approach, for long run, how it will be different
vendor sharing driver via a public git repo or upstreamed to dpdk.org? I
think we can add value in dpdk.org which may sometimes means requesting
more work from vendor.


> @Maxime: I propose to put this on the agenda for the coming techboard meeting.
> 

Please invite me too :)

> 
> [1]: https://doc.dpdk.org/guides/contributing/new_library.html
> [2]: http://inbox.dpdk.org/dev/98CBD80474FA8B44BF855DF32C47DC35D87BAF@smartserver.smartshare.dk/
> [3]: http://inbox.dpdk.org/dev/6df9c00f-23a0-423f-840b-4ecf20ff82fc@3snic.com/
> 
> 
> Med venlig hilsen / Kind regards,
> -Morten Brørup
> 


  reply	other threads:[~2023-09-18 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-18  7:08 Morten Brørup
2023-09-18 11:46 ` Ferruh Yigit [this message]
2023-09-18 14:36 ` Honnappa Nagarahalli
2023-09-18 19:58   ` Thomas Monjalon

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=f4882def-f00d-47af-8b5a-83b306d6f9b0@amd.com \
    --to=ferruh.yigit@amd.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=ckm@napatech.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=mb@smartsharesystems.com \
    --cc=techboard@dpdk.org \
    --cc=wanry@3snic.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;
as well as URLs for NNTP newsgroup(s).