Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1493219 > unrolled thread
| Started by | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| First post | 2016-09-29 11:00 +0200 |
| Last post | 2016-09-29 14:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero. Greg KH <gregkh@linuxfoundation.org> - 2016-09-29 11:00 +0200
Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero. Felipe Balbi <balbi@kernel.org> - 2016-09-29 14:30 +0200
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-09-29 11:00 +0200 |
| Subject | Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero. |
| Message-ID | <smFma-1M8-17@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Felipe Balbi <balbi@kernel.org> |
|---|---|
| Date | 2016-09-29 14:30 +0200 |
| Subject | Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero. |
| Message-ID | <smIDn-45v-11@gated-at.bofh.it> |
| In reply to | #1493219 |
[Multipart message — attachments visible in raw view] — view raw
Hi, Greg KH <gregkh@linuxfoundation.org> writes: > 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? Yeah, g_zero has a few module parameters. In fact many of the gadget drivers have them. This is all legacy stuff, pre-configfs. We can't simply remove the legacy gadget drivers and tell everybody to start using configfs ;-) That's what we want, no doubt. That being said, we're not taking any new module parameters to any of the gadget drivers OR UDC drivers. Anything new is configfs-only. Legacy gadgets only get bug fixes. -- balbi
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web