DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] decision process to accept new libraries
Date: Fri, 24 Feb 2017 13:17:42 +0000	[thread overview]
Message-ID: <20170224131742.GA97552@bricha3-MOBL3.ger.corp.intel.com> (raw)
In-Reply-To: <1795016.0T9qy8tmF5@xps13>

On Fri, Feb 24, 2017 at 02:07:22PM +0100, Thomas Monjalon wrote:
> 2017-02-22 19:06, Dumitrescu, Cristian:
> > ...<snip>
> > 
> > > The impact of having separate repositories is to reduce the work of a
> > > contributor touching many areas in a rework. This cost is transfered
> > > to the maintainer of the separate repository impacted by the change
> > > in the main repository. So it becomes this question:
> > > Do we prefer requiring some maintenance work from the contributors or
> > > from the maintainers?
> > 
> > IMO it is not fair for a contributor of the "main" repository to break stuff in other repos without fixing the other repos.
> 
> The question is "is it fair to ask a contributor to fix every libraries using a core one?"
> 
> > This essentially leads to the "other" repos becoming second class citizens that can be broken at any time without prior notice or the right to influence the change. The amount of maintenance work becomes very difficult to quantify (e.g. we all know what a ripple effect a chance in the mbuf structure can cause to any  of those "other" DPDK libraries). This is likely to lead to different release schedules for every of those "other" repos and big hassle in building a single unified DPDK release package. Or is it desired that DPDK release package should only contain the "main" repo?
> 
> Yes the idea is to have a core package of the "main" repo.
> 
> > What would be the advantages to this model, Thomas?
> > And what are the issues with the current model of "you break it, you fix it"?
> 
> That's a very good question Cristian.
> As said above, it is a matter of deciding the scope of responsibility
> of a contributor to a core library, or saying it differently,
> who should do the work on other libs and multiple examples?
> About the advantages, I think it could ease the contributions on core
> libraries and let people who are not full-time on DPDK to contribute
> to the core libraries.
> 
> That's a real question and feedbacks are very welcome.
> I'd like to read opinions of more contributors. Thanks

I think the reduction in work for new contributors is an admirable one.
However, the idea of separating out libs to achieve this is not one I'm
so sure about. My thinking is:
* the examples, rather than the libs, might be a better source of "fat"
  to be cut. We're already looking at removing the old dpdk_qat sample,
  so perhaps more can follow that.
* are library dependencies really that much an issue?
* do we really want to make it that easy to change core library APIs? If
  the core library APIs change, that has an effect on everyone else
  using DPDK, so it's not an effort to be undertaken lightly. Having to
  change a bunch of other libraries and examples using that code will
  help contributors to understand a) what they are asking others to go
  through to update their own code for the change b) give insight into
  how the APIs are actually being used.

Regards,
/Bruce

      reply	other threads:[~2017-02-24 13:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 10:22 [dpdk-dev] DPDK Technical Board Meeting, 2017-02-15 Richardson, Bruce
2017-02-17 11:16 ` [dpdk-dev] decision process to accept new libraries Thomas Monjalon
2017-02-21 13:46   ` Bruce Richardson
2017-02-21 14:42     ` Thomas Monjalon
2017-02-22 18:39       ` Dumitrescu, Cristian
2017-02-22 19:06       ` Dumitrescu, Cristian
2017-02-24 11:33         ` Remy Horton
2017-02-24 13:10           ` Thomas Monjalon
2017-02-24 13:17           ` Olivier Matz
2017-02-24 13:25             ` Bruce Richardson
2017-02-24 14:26               ` Olivier Matz
2017-02-24 13:07         ` Thomas Monjalon
2017-02-24 13:17           ` Bruce Richardson [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=20170224131742.GA97552@bricha3-MOBL3.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.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).