File tree Expand file tree Collapse file tree
images/usb-modules/patches Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1- # Patches
21
32This directory contains patches used to build the following out-of-tree kernel modules:
43
@@ -8,8 +7,28 @@ This directory contains patches used to build the following out-of-tree kernel m
87
98---
109
11- ## 001-vhci-increase-default- ports-to-32 .patch
10+ ## 001-vhci-increase-ports-and-controllers .patch
1211
13- Increases the default number of ports for the ` vhci-hcd ` virtual USB controller to ** 32 ** .
12+ This patch modifies the default configuration of the ` vhci-hcd ` (Virtual Host Controller Interface) driver .
1413
15- This allows more USB devices to be attached simultaneously via USB/IP
14+ ### Changes
15+
16+ - Sets the number of ports per virtual hub to ** 16** (hardcoded).
17+ - Sets the number of virtual host controllers to ** 4** (hardcoded).
18+ - Removes dependency on:
19+ - ` CONFIG_USBIP_VHCI_HC_PORTS `
20+ - ` CONFIG_USBIP_VHCI_NR_HCS `
21+
22+ ### Resulting Capacity
23+
24+ Each VHCI controller provides:
25+ - 2 hubs (USB 2.0 and USB 3.0)
26+ - 16 ports per hub
27+
28+ With 4 controllers total:
29+
30+ 4 controllers × 2 hubs × 16 ports = ** 128 ports**
31+
32+ This allows up to ** 128 USB devices** to be attached simultaneously via USB/IP (subject to kernel and system limitations).
33+
34+ > Note: The number of ports and controllers is now fixed at compile time and no longer configurable via kernel config options.
You can’t perform that action at this time.
0 commit comments