[dpdk-dev] [PATCH v4 2/4] kcp: add kernel control path kernel module

Ferruh Yigit ferruh.yigit at intel.com
Wed Mar 2 12:05:55 CET 2016


On 3/1/2016 11:06 PM, Stephen Hemminger wrote:
> On Tue,  1 Mar 2016 15:41:58 +0000
> Ferruh Yigit <ferruh.yigit at intel.com> wrote:
> 
>> +#ifdef RTE_KCP_KO_DEBUG
>> +#define KCP_DBG(args...) pr_info(args)
>> +#else
>> +#define KCP_DBG(args...)
>> +#en
> 
> Why not use pr_debug() which is compile enabled already and supports dynamic
> enabling as well.
> 
Because of dynamic debug control, it is more complex and less known.
But I will update it to pr_debug.

Thanks,
ferruh


More information about the dev mailing list