[dpdk-dev] [PATCH v2 3/3] drivers: align log names

Wang, Xiao W xiao.w.wang at intel.com
Wed Apr 7 02:49:58 CEST 2021


Hi Thomas,

I agree with the "ifcvf" name, as there might be more than one driver in a single driver dir.

Thanks,
Xiao

> -----Original Message-----
> From: Xu, Rosen <rosen.xu at intel.com>
> Sent: Tuesday, April 6, 2021 5:48 PM
> To: Thomas Monjalon <thomas at monjalon.net>; Wang, Xiao W
> <xiao.w.wang at intel.com>
> Cc: dev at dpdk.org; Richardson, Bruce <bruce.richardson at intel.com>;
> Hemant Agrawal <hemant.agrawal at nxp.com>; Ajit Khaparde
> <ajit.khaparde at broadcom.com>; Griffin, John <john.griffin at intel.com>;
> Trahe, Fiona <fiona.trahe at intel.com>; Jain, Deepak K
> <deepak.k.jain at intel.com>; Raveendra Padasalagi
> <raveendra.padasalagi at broadcom.com>; Vikas Gupta
> <vikas.gupta at broadcom.com>; John W. Linville <linville at tuxdriver.com>;
> Chas Williams <chas3 at att.com>; Min Hu (Connor)
> <humin29 at huawei.com>; Zhang, Tianfei <tianfei.zhang at intel.com>; Nipun
> Gupta <nipun.gupta at nxp.com>; david.marchand at redhat.com
> Subject: RE: [PATCH v2 3/3] drivers: align log names
> 
> HI Thomas,
> 
> I'm ok, if you replace pmd.afu.ipn3ke with pmd.net.ipn3ke. Thanks your
> reminder.
> 
> > -----Original Message-----
> > From: Thomas Monjalon <thomas at monjalon.net>
> > Sent: Tuesday, April 06, 2021 17:31
> > To: Xu, Rosen <rosen.xu at intel.com>; Wang, Xiao W
> > <xiao.w.wang at intel.com>
> > Cc: dev at dpdk.org; Richardson, Bruce <bruce.richardson at intel.com>;
> > Hemant Agrawal <hemant.agrawal at nxp.com>; Ajit Khaparde
> > <ajit.khaparde at broadcom.com>; Griffin, John <john.griffin at intel.com>;
> > Trahe, Fiona <fiona.trahe at intel.com>; Jain, Deepak K
> > <deepak.k.jain at intel.com>; Raveendra Padasalagi
> > <raveendra.padasalagi at broadcom.com>; Vikas Gupta
> > <vikas.gupta at broadcom.com>; John W. Linville <linville at tuxdriver.com>;
> > Chas Williams <chas3 at att.com>; Min Hu (Connor)
> <humin29 at huawei.com>;
> > Zhang, Tianfei <tianfei.zhang at intel.com>; Nipun Gupta
> > <nipun.gupta at nxp.com>; david.marchand at redhat.com
> > Subject: Re: [PATCH v2 3/3] drivers: align log names
> >
> > Hi Rosen,
> >
> > You already gave your ack in previous version, no need to re-ack.
> > Instead, please give your opinion and explanation as requested below.
> > We want to replace pmd.afu.ipn3ke with pmd.net.ipn3ke.
> > The use of AFU in the driver is not clear.
> >
> > Xiao, we need your opinion as well about ifcvf vs ifc name.
> >
> >
> > > > The log levels are configured by using the name of the logs.
> > > > Some drivers are aligned to follow a common log name standard:
> > > > 	pmd.class.driver[.sub]
> > > > Some "common" drivers skip the "class" part:
> > > > 	pmd.driver.sub
> > > >
> > > > Two drivers have exceptions to be clarified:
> > > > 	pmd.vdpa.ifcvf instead of pmd.vdpa.ifc
> > > > 	pmd.afu.ipn3ke instead of pmd.net.ipn3ke
> > > >
> > > > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > > > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> > > > Acked-by: Rosen Xu <rosen.xu at intel.com>
> > > > Acked-by: Xiao Wang <xiao.w.wang at intel.com>
> > > > Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> > > > Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> > [...]
> > > Acked-by: Rosen Xu <rosen.xu at intel.com>
> >
> >



More information about the dev mailing list