DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier MATZ <olivier.matz@6wind.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: "Mcnamara, John" <john.mcnamara@intel.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"techboard@dpdk.org" <techboard@dpdk.org>
Subject: Re: [dpdk-dev] [dpdk-techboard] [PATCH] doc: update contribution guideline for dependent work
Date: Wed, 13 Dec 2017 09:55:21 +0100	[thread overview]
Message-ID: <20171213085520.xoj3jek2u5bo3fuy@platinum> (raw)
In-Reply-To: <d56b68d7-1956-7f9e-3942-3886829475b4@intel.com>

On Tue, Dec 12, 2017 at 10:57:48AM -0800, Ferruh Yigit wrote:
> On 12/12/2017 7:54 AM, Olivier MATZ wrote:
> > Hi,
> > 
> > On Mon, Dec 11, 2017 at 02:26:34PM +0000, Mcnamara, John wrote:
> >> From: Yigit, Ferruh
> >>> Changing some part of the libraries but not updating all dependent code
> >>> cause maintenance problems.
> >>>
> >>> ...
> >>>
> >>> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> >>>
> >>
> >>
> >> integration testing.
> >>>
> >>> +* If changes effect other parts of the project, update all those parts as
> >>> well unless updating requires special knowledge.
> > 
> > I feel that "requiring special knowledge" is a bit blury. 
> 
> Yes it is, but hard to define where to put the line. My point is if author has
> enough knowledge to go and update dependent part, please do so.
> 
> > Shouldn't we add some
> > examples? Typically, I'm thinking about changes in ethdev that imply updating
> > the PMDs. Any opinion for this use case?
> 
> Overall many libraries to PMDs fit into this. eal/mbuf/ethdev -> PMD changes.
> 
> I think, the dynamic logging update in the other libraries and PMDs should be
> done with the original patch, adding dynamic logging to any library doesn't
> require library specific information, but agree this is more work.

Being the author of this patchset, I can give my feeling in this particular
case. That's right adding dynamic logging to all libraries may not require
to know the specifics or the library.

I did these changes to help me while debugging the i40e driver. Once
done, it was worth doing clean EAL upstreamable patches to lay the
foundations for a generic dynamic logging system in DPDK. If I had to do
the work for all the libraries, I would not have done it, because it was
really out of scope of my task.

So the choice was between having nothing, or having something which is
not much used at first, but can be more widely adopted over time.

That said, I understand that the problem with the second approach is to
stay for too long in a situation where the old system is used.

> For new ethdev offload method, I believe it fits into more gray area, it may be
> possible to update PMDs to use new offloading method but some part PMDs can be
> challenging.
> 
> Converting flow director filtering to the rte_flow filtering is something I
> believe fair to expect from PMD owner instead of rte_flow author.

Yes, agree for these 2 examples.

  reply	other threads:[~2017-12-13  8:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 19:59 [dpdk-dev] " Ferruh Yigit
2017-12-11 14:26 ` Mcnamara, John
2017-12-12 15:54   ` [dpdk-dev] [dpdk-techboard] " Olivier MATZ
2017-12-12 18:57     ` Ferruh Yigit
2017-12-13  8:55       ` Olivier MATZ [this message]
2018-01-09 15:44 ` [dpdk-dev] [PATCH v2] " Ferruh Yigit
2018-05-24 16:58   ` Thomas Monjalon
2019-04-05 15:00     ` Ferruh Yigit
2019-04-05 15:00       ` Ferruh Yigit
2019-04-05 15:02       ` [dpdk-dev] [dpdk-techboard] " Ferruh Yigit
2019-04-05 15:02         ` Ferruh Yigit

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=20171213085520.xoj3jek2u5bo3fuy@platinum \
    --to=olivier.matz@6wind.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=john.mcnamara@intel.com \
    --cc=techboard@dpdk.org \
    --cc=thomas@monjalon.net \
    /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).