Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mode to pad output usb packets to 32 bytes for better WinUSB performance #7

Merged
merged 2 commits into from
Nov 27, 2017

Conversation

mbehensky
Copy link
Contributor

For some reason, on some motherboards under windows, WinUsb will only allow you to receive one packet per 1khz usb frame from a client unless the packet size is the maximum for the bulk input pipe. These changes add a mode that pads output packets fron the client to that maximum with zeroes. The firmware defaults to the old behavior unless this mode bit is set, and seems to still work OK under Linux. I created a companion pull request for your candle_dll windows driver that has a test program that is able to receive over 2k packets per second.

@HubertD HubertD merged commit 53b4b91 into candle-usb:master Nov 27, 2017
pfink-christ pushed a commit to pfink-christ/net-next that referenced this pull request Nov 29, 2021
Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Nov 29, 2021
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents this bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pfink-christ pushed a commit to pfink-christ/net-next that referenced this pull request Dec 9, 2021
Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Dec 10, 2021
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents this bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Feb 3, 2022
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents the bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Feb 4, 2022
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents the bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Feb 6, 2022
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents the bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
marckleinebudde added a commit to marckleinebudde/linux that referenced this pull request Feb 15, 2022
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents the bit.

Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
fengguang pushed a commit to 0day-ci/linux that referenced this pull request Mar 10, 2022
The widely used open source firmware candleLight supports padding the
USB packets to max packet size to improve performance on Windows
systems.

This patch documents the bit.

Link: https://lore.kernel.org/all/20220309124132.291861-12-mkl@pengutronix.de
Link: candle-usb/candleLight_fw#7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants