From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>
Cc: Bruce Richardson <bruce.richardson@intel.com>,
Ferruh Yigit <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 15:05:13 +0530 [thread overview]
Message-ID: <270ef421-6d73-fc02-2251-fad2fc03b8ca@nxp.com> (raw)
In-Reply-To: <20180123205429.GA8580@bricha3-MOBL3.ger.corp.intel.com>
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
Is that right understanding?
And, for mempool I can do...
pmd.mempool.<specialization>
for example:
pmd.mempool.dpaa2
pmd.mempool.dpaa2.something
>
>>>
>>> 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.
next prev parent reply other threads:[~2018-01-25 10:25 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 [this message]
2018-01-25 9:28 ` Van Haaren, Harry
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=270ef421-6d73-fc02-2251-fad2fc03b8ca@nxp.com \
--to=shreyansh.jain@nxp.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=harry.van.haaren@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 \
/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).