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


Groups > linux.debian.kernel > #57458

Bug#859641: Please increase USBIP_VHCI_HC_PORTS and USBIP_VHCI_NR_HCS

From Bjørn Mork <bjorn@mork.no>
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 16:10 +0200
Message-ID <tsTNf-3DV-7@gated-at.bofh.it> (permalink)
References <tsTNf-3DV-9@gated-at.bofh.it>
Organization m

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.kernel | Previous | NextNext 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