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


Groups > linux.debian.kernel > #57460

Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS

From Steve McIntyre <steve@einval.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS
Date 2017-04-05 18:40 +0200
Message-ID <tsW8q-51d-3@gated-at.bofh.it> (permalink)
References <tsTNf-3DV-9@gated-at.bofh.it> <tsTNf-3DV-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

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


Thread

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

csiph-web