Skip to content

drivers: usb: cdc_acm (next): reduce network buffer on full speed devices #75002

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

Open
Sam3e2 opened this issue Jun 25, 2024 · 0 comments
Open
Assignees
Labels
area: USB Universal Serial Bus Enhancement Changes/Updates/Additions to existing features

Comments

@Sam3e2
Copy link

Sam3e2 commented Jun 25, 2024

Is your enhancement proposal related to a problem? Please describe.
usbd_cdc_acm.h uses network buffers for each direction, 512 bytes each. I assume that 512 bytes are needed for high speed packets, only. Especially on small devices, 1 KB overhead per cdc acm instance can be significant.

Describe the solution you'd like
If the assumption is correct, the buffer size should be decreased to 64 bytes on full speed devices.

@Sam3e2 Sam3e2 added the Enhancement Changes/Updates/Additions to existing features label Jun 25, 2024
@Sam3e2 Sam3e2 changed the title usb: cdc_acm (next): reduce network buffer on full speed devices drivers: usb: cdc_acm (next): reduce network buffer on full speed devices Jun 26, 2024
@henrikbrixandersen henrikbrixandersen added the area: USB Universal Serial Bus label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

4 participants