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
[...]
> > ---
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
> > >
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
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
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 +
>
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
6 matches
Mail list logo