Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493437

Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.

From Felipe Balbi <balbi@kernel.org>
Newsgroups linux.kernel
Subject Re: [LINUX PATCH] usb: gadget: Configure bulk maxburst through module parameter in gadget zero.
Date 2016-09-29 14:30 +0200
Message-ID <smIDn-45v-11@gated-at.bofh.it> (permalink)
References <smFma-1M8-19@gated-at.bofh.it> <smFma-1M8-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web