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

Bugfix for the retrans-issue that stopped RDMA-writes at 8k: We now h… #86

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

maximilianheer
Copy link
Member

The previous bug stopped RDMA-transmissions at 8k message size. The issue was in the retransmission-capability: On the command-interface, multiple commands for writing MTU-sized data chunks to the retrans memory are submitted, while the datastream has one single data chunk that has a size of multiple MTUs. Therefore, the data mover IP-core doesn't accept the incoming data and builds up backpressure.
This bugfix introduces a counter (cnt_ddr_wr) for successful write-beats to the retrans-memory and uses it to split up the data stream in multiple MTU-sized chunks by asserting a .tlast signal. The design change has been tested quite extensively, also with a packet dropper module and seems to work reasonably well.

…ave a ddr-write-access counter in rdma_mux_retrans that allows to split the incoming data stream in multiple MTU-sized bursts for writing to the retrans-memory in HBM.
@bo3z bo3z added this to the v0.3.0 milestone Nov 14, 2024
@bo3z bo3z added the bugfix Fix for a bug label Nov 14, 2024
Copy link
Collaborator

@bo3z bo3z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but as discussed would be nice to have an RDMA build test, similar to the build_static (later we can make sure this builds with encryption etc.)

@bo3z bo3z merged commit 6e3d30a into master Nov 19, 2024
14 checks passed
@bo3z bo3z deleted the retrans_bugfix branch November 19, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants