DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Van Haaren, Harry" <harry.van.haaren@intel.com>
To: Shreyansh Jain <shreyansh.jain@nxp.com>
Cc: "Richardson, Bruce" <bruce.richardson@intel.com>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>,
	"olivier.matz@6wind.com" <olivier.matz@6wind.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"Ma, Liang J" <liang.j.ma@intel.com>,
	"Mccarthy, Peter" <peter.mccarthy@intel.com>,
	"santosh.shukla@caviumnetworks.com"
	<santosh.shukla@caviumnetworks.com>,
	"jerin.jacob@caviumnetworks.com" <jerin.jacob@caviumnetworks.com>
Subject: Re: [dpdk-dev] Dynamic Logging Name Formatting
Date: Thu, 25 Jan 2018 09:28:10 +0000	[thread overview]
Message-ID: <E923DB57A917B54B9182A2E928D00FA650FF5409@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <270ef421-6d73-fc02-2251-fad2fc03b8ca@nxp.com>

> From: Shreyansh Jain [mailto:shreyansh.jain@nxp.com]
> Sent: Thursday, January 25, 2018 9:35 AM
> To: Van Haaren, Harry <harry.van.haaren@intel.com>
> Cc: Richardson, Bruce <bruce.richardson@intel.com>; Yigit, Ferruh
> <ferruh.yigit@intel.com>; olivier.matz@6wind.com; dev@dpdk.org; Ma, Liang J
> <liang.j.ma@intel.com>; Mccarthy, Peter <peter.mccarthy@intel.com>;
> santosh.shukla@caviumnetworks.com; jerin.jacob@caviumnetworks.com
> Subject: Re: Dynamic Logging Name Formatting
> 
> Hi Harry,
> 
> A trivial question(s)...
> 
> On Wednesday 24 January 2018 02:24 AM, Bruce Richardson wrote:
> > On Tue, Jan 23, 2018 at 05:45:09PM +0000, Ferruh Yigit wrote:
> >> On 1/23/2018 5:31 PM, Van Haaren, Harry wrote:
> >>> === Suggested Consistent Schema ===
> >>> ===================================
> >>>
> >>> Libraries:
> >>>    lib.<name>.specialization
> >>>
> >>> Net PMDs:
> >>>    pmd.<name>.specialization
> >>>    // one could argue consistency would be pmd.ethdev.<name>
> >>>    // but the change is larger than the value IMO - thoughts?
> >
> > pmd.net ??
> 
> Just to clarify, with 'pmd.net' as fixed string, <specialization> would
> be driver name along with any meta info?
> 
> For example:
> 
> pmd.net.dpaa2
> pmd.net.dpaa2.info
> pmd.net.dpaa2.base

Yes exactly


> Is that right understanding?
> And, for mempool I can do...
> 
> pmd.mempool.<specialization>
> 
> for example:
> 
> pmd.mempool.dpaa2
> pmd.mempool.dpaa2.something

Yep.


> >>> Eventdev PMDs:
> >>>    pmd.eventdev.<name>.specialization
> >>>
> >>> Crypto PMDs:
> >>>    pmd.cryptodev.<name>.specialization
> >>>
> >
> > "event" and "crypto" without the "dev" on the end, which would also
> > match "net" above.
> >
> >>> BBdev PMDs:
> >>>    pmd.bbdev.<name>.specialization
> >>>
> >>> Busses:
> >>>    bus.<name>.specialization
> >>
> >> +1 to suggested schema, looks good to me.
> >
> 
> I am working on sending out dynamic logging patches for dpaa2 within rc1
> window. I can make changes as agreed here.

Great!

The patchset has just been sent - so if there's any confusion you
can see the proposed docs here:
http://dpdk.org/dev/patchwork/patch/34444/

      reply	other threads:[~2018-01-25  9:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23 17:31 Van Haaren, Harry
2018-01-23 17:45 ` Ferruh Yigit
2018-01-23 20:54   ` Bruce Richardson
2018-01-24  6:32     ` Andrew Rybchenko
2018-01-24  9:27       ` Olivier Matz
2018-01-24  9:36         ` Van Haaren, Harry
2018-01-25  9:35     ` Shreyansh Jain
2018-01-25  9:28       ` Van Haaren, Harry [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=E923DB57A917B54B9182A2E928D00FA650FF5409@IRSMSX102.ger.corp.intel.com \
    --to=harry.van.haaren@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jerin.jacob@caviumnetworks.com \
    --cc=liang.j.ma@intel.com \
    --cc=olivier.matz@6wind.com \
    --cc=peter.mccarthy@intel.com \
    --cc=santosh.shukla@caviumnetworks.com \
    --cc=shreyansh.jain@nxp.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).