[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160913063806.GP8812@leon.nu>
Date: Tue, 13 Sep 2016 09:38:06 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Yuval Mintz <Yuval.Mintz@...gic.com>
Cc: Mark Bloch <markb@...lanox.com>,
Ram Amrani <Ram.Amrani@...gic.com>,
"dledford@...hat.com" <dledford@...hat.com>,
David Miller <davem@...emloft.net>,
Ariel Elior <Ariel.Elior@...gic.com>,
Michal Kalderon <Michal.Kalderon@...gic.com>,
Rajesh Borundia <rajesh.borundia@...gic.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [RFC 02/11] Add RoCE driver framework
On Mon, Sep 12, 2016 at 07:17:35PM +0000, Yuval Mintz wrote:
> >> +uint debug;
> >> +module_param(debug, uint, 0);
> >> +MODULE_PARM_DESC(debug, "Default debug msglevel");
>
> >Why are you adding this as a module parameter?
>
> I believe this is mostly to follow same line as qede which also defines
> 'debug' module parameter for allowing easy user control of debug
> prints [& specifically for probe prints, which can't be controlled
> otherwise].
Can you give us an example where dynamic debug and tracing infrastructures
are not enough?
AFAIK, most of these debug module parameters are legacy copy/paste
code which is useless in real life scenarios.
Thanks
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists