Re: [dpdk-dev] [PATCH v2 1/4] net/mlx4: enable debug logs dynamically

2021-03-17 Thread Thomas Monjalon
17/03/2021 18:29, Ferruh Yigit: > On 3/9/2021 9:48 AM, Thomas Monjalon wrote: > > The macro DEBUG was doing nothing if not compiled with > > RTE_LIBRTE_MLX4_DEBUG. > > > > As it is not used in the data path, it can be always enabled at > > compilation time. Then it can be enabled at runtime with:

Re: [dpdk-dev] [PATCH v2 1/4] net/mlx4: enable debug logs dynamically

2021-03-17 Thread Ferruh Yigit
On 3/9/2021 9:48 AM, Thomas Monjalon wrote: The macro DEBUG was doing nothing if not compiled with RTE_LIBRTE_MLX4_DEBUG. As it is not used in the data path, it can be always enabled at compilation time. Then it can be enabled at runtime with: --log-level pmd.net.mlx4:debug Signed-off-b

Re: [dpdk-dev] [PATCH v2 1/4] net/mlx4: enable debug logs dynamically

2021-03-11 Thread Matan Azrad
From: Thomas Monjalon > The macro DEBUG was doing nothing if not compiled with > RTE_LIBRTE_MLX4_DEBUG. > > As it is not used in the data path, it can be always enabled at compilation > time. > Then it can be enabled at runtime with: > --log-level pmd.net.mlx4:debug > > Signed-off-by: