[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-13 Thread Thomas Monjalon
2015-04-09 10:32, Adrien Mazarguil: > On Tue, Apr 07, 2015 at 07:40:19PM +0200, Thomas Monjalon wrote: > > The function name is printed in each enic_ethdev function. > > Disable it by default with a new build option. > > > > Signed-off-by: Thomas Monjalon [...] > > ---

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-13 Thread Adrien Mazarguil
On Thu, Apr 09, 2015 at 09:28:53AM -0700, Stephen Hemminger wrote: > On Thu, 9 Apr 2015 10:32:24 +0200 > Adrien Mazarguil wrote: > > > > > > > +#ifdef RTE_LIBRTE_ENIC_DEBUG > > > #define ENICPMD_FUNC_TRACE() \ > > > RTE_LOG(DEBUG, PMD, "ENICPMD trace: %s\n", __func__) > > > +#else > > >

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-09 Thread Adrien Mazarguil
On Tue, Apr 07, 2015 at 07:40:19PM +0200, Thomas Monjalon wrote: > The function name is printed in each enic_ethdev function. > Disable it by default with a new build option. > > Signed-off-by: Thomas Monjalon > --- > config/common_bsdapp | 1 + > config/common_linuxapp

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-09 Thread Stephen Hemminger
On Thu, 9 Apr 2015 10:32:24 +0200 Adrien Mazarguil wrote: > > > > +#ifdef RTE_LIBRTE_ENIC_DEBUG > > #define ENICPMD_FUNC_TRACE() \ > > RTE_LOG(DEBUG, PMD, "ENICPMD trace: %s\n", __func__) > > +#else > > +#define ENICPMD_FUNC_TRACE() do {} while (0) > > How about defining it as (void)0

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-08 Thread Sujith Sankar (ssujith)
On 07/04/15 11:10 pm, "Thomas Monjalon" wrote: >The function name is printed in each enic_ethdev function. >Disable it by default with a new build option. > >Signed-off-by: Thomas Monjalon >--- > config/common_bsdapp | 1 + > config/common_linuxapp| 1 + >

[dpdk-dev] [PATCH] enic: disable debug traces

2015-04-07 Thread Thomas Monjalon
The function name is printed in each enic_ethdev function. Disable it by default with a new build option. Signed-off-by: Thomas Monjalon --- config/common_bsdapp | 1 + config/common_linuxapp| 1 + lib/librte_pmd_enic/enic_ethdev.c | 4 3 files changed, 6