RE: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.
From: Manish Narani
Date: Fri Sep 30 2016 - 07:45:37 EST
Hi Greg,
Thanks for the suggestion. I will fix it and send you in next version. :)
Regards,
Manish
-----Original Message-----
From: Greg KH [mailto:gregkh@xxxxxxxxxxxxxxxxxxx]
Sent: Thursday, September 29, 2016 2:24 PM
To: Manish Narani <MNARANI@xxxxxxxxxx>
Cc: balbi@xxxxxxxxxx; k.opasiak@xxxxxxxxxxx; r.baldyga@xxxxxxxxxxx; peter.chen@xxxxxxxxxxxxx; Manish Narani <MNARANI@xxxxxxxxxx>; John.Youn@xxxxxxxxxxxx; eu@xxxxxxxxxxxxxxxxx; i.kotrasinsk@xxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Anurag Kumar Vulisha <anuragku@xxxxxxxxxx>; Punnaiah Choudary Kalluri <punnaia@xxxxxxxxxx>
Subject: Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.
On Thu, Sep 29, 2016 at 02:16:44PM +0530, Manish Narani wrote:
> This patch adds support to configure bulk maxburst through module
> parameter. This parameter can be used to modify bulk maxburst in case
> if one wants to measure peak Bulk/Isoc-IN/OUT performance.
Eeek, this isn't the 1990's, please don't add new module parameters :)
We have much better ways of handling configuration options for a device, why not use them (configfs, sysfs files, etc.)?
Ugh, it looks like iso_maxburst is handled this way as well.
Felipe, why is this?
thanks,
greg k-h
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.