-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dwc_eqos - jumbo packets up to 4088 (#35)
Support jumbo packets up to 4088 bytes (MTU 4074). This means raising the receive buffer size up to 4096, but since it appears that NetAdapterCx allocates buffers at page granularity anyway, I don't think this actually costs anything. I tried to enable 9014-byte packets, but with system-managed buffering, I can't see how to specify that I want a small buffer (e.g. 2KB or 4KB) while also indicating that I might receive a large packet (e.g. 9014 bytes) -- the two sizes appear to be tied together. I think if we want 9014-byte jumbo frames, we either use 12KB receive buffers (very inefficient use of memory) or we use driver-managed receive buffers (a bit more work that I can't finish tonight). So stick with a 4088 byte limit for now.
- Loading branch information
Showing
7 changed files
with
69 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters