[dpdk-dev] Dynamic Logging Name Formatting

Van Haaren, Harry harry.van.haaren at intel.com
Wed Jan 24 10:36:13 CET 2018


> From: Olivier Matz [mailto:olivier.matz at 6wind.com]
> Sent: Wednesday, January 24, 2018 9:28 AM
> To: Andrew Rybchenko <arybchenko at solarflare.com>
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>; Van Haaren, Harry <harry.van.haaren at intel.com>;
> dev at dpdk.org; Ma, Liang J <liang.j.ma at intel.com>; Mccarthy, Peter
> <peter.mccarthy at intel.com>; santosh.shukla at caviumnetworks.com;
> jerin.jacob at caviumnetworks.com
> Subject: Re: [dpdk-dev] Dynamic Logging Name Formatting
> 
> On Wed, Jan 24, 2018 at 09:32:33AM +0300, Andrew Rybchenko wrote:
> > On 01/23/2018 11:54 PM, 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 ??
> > >
> > > > > 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.
> >
> > I like the scheme suggested by Bruce including pmd.net. Shorter and
> > consistent.
> 
> Agree.

Thanks for feedback all, I'll send a patch to rework the existing names into the scheme as converged on here, and document the naming scheme in the docs.


More information about the dev mailing list