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


Groups > linux.debian.kernel > #57458 > unrolled thread

Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS

Started byBjørn Mork <bjorn@mork.no>
First post2017-04-05 16:10 +0200
Last post2017-04-05 18:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.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.


Contents

  Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS Bjørn Mork <bjorn@mork.no> - 2017-04-05 16:10 +0200
    Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS Steve McIntyre <steve@einval.com> - 2017-04-05 18:40 +0200

#57458 — Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS

FromBjørn Mork <bjorn@mork.no>
Date2017-04-05 16:10 +0200
SubjectBug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS
Message-ID<tsTNf-3DV-7@gated-at.bofh.it>
Steve McIntyre <steve@einval.com> writes:

> In Linaro we're making a lot of use of USB-over-IP devices these days
> for our testing lab. We've hit a (very small!) limit defined in kernel
> config for the number of virtual host controllers and the ports
> allowed per controller.
>
> Currently these are defaulting to
>
> CONFIG_USBIP_VHCI_HC_PORTS=8
> (can be 1 <= CONFIG_USBIP_VHCI_HC_PORTS <= 31)
>
> and
> CONFIG_USBIP_VHCI_NR_HCS=1
> (can be 1 <= CONFIG_USBIP_VHCI_NR_HCS <= 128)
>
> The normal limits are very small; could you please raise these to
> (say) 31 and 8 for us? There will obviously be a small increase in
> memory usage in the kernel, but only for users of these particular
> devices.

FWIW, I believe those constants never should have been accepted. But I
just gave up after getting this answer:
http://www.spinics.net/lists/linux-usb/msg134862.html

"Because it is easy to implement." was obviously more important than
easy to use...  I don't think distro users were considered.

If you care about these limits, then I think you should look into what
needs to be done to make them dynamic.  I cannot imagine that it is all
that difficult.  Which of course is easy to say when you don't actually
plan on doing the work :)



Bjørn

[toc] | [next] | [standalone]


#57460

FromSteve McIntyre <steve@einval.com>
Date2017-04-05 18:40 +0200
Message-ID<tsW8q-51d-3@gated-at.bofh.it>
In reply to#57458
On Wed, Apr 05, 2017 at 03:51:14PM +0200, Bjørn Mork wrote:
>Steve McIntyre <steve@einval.com> writes:
>
>> In Linaro we're making a lot of use of USB-over-IP devices these days
>> for our testing lab. We've hit a (very small!) limit defined in kernel
>> config for the number of virtual host controllers and the ports
>> allowed per controller.
>>
>> Currently these are defaulting to
>>
>> CONFIG_USBIP_VHCI_HC_PORTS=8
>> (can be 1 <= CONFIG_USBIP_VHCI_HC_PORTS <= 31)
>>
>> and
>> CONFIG_USBIP_VHCI_NR_HCS=1
>> (can be 1 <= CONFIG_USBIP_VHCI_NR_HCS <= 128)
>>
>> The normal limits are very small; could you please raise these to
>> (say) 31 and 8 for us? There will obviously be a small increase in
>> memory usage in the kernel, but only for users of these particular
>> devices.
>
>FWIW, I believe those constants never should have been accepted. But I
>just gave up after getting this answer:
>http://www.spinics.net/lists/linux-usb/msg134862.html
>
>"Because it is easy to implement." was obviously more important than
>easy to use...  I don't think distro users were considered.

ACK. :-/

>If you care about these limits, then I think you should look into what
>needs to be done to make them dynamic.  I cannot imagine that it is all
>that difficult.  Which of course is easy to say when you don't actually
>plan on doing the work :)

Hmmm. I'd love to help , but not *right* now - I've already got a
stack of things to do to help get Debian Stretch released!

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
  Getting a SCSI chain working is perfectly simple if you remember that there
  must be exactly three terminations: one on one end of the cable, one on the
  far end, and the goat, terminated over the SCSI chain with a silver-handled
  knife whilst burning *black* candles. --- Anthony DeBoer

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web