mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #722] [CLOSED] [Bugfix]Fix 'invalid argument' error when setting QP state to INIT vi… #1771
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1771
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/722
Author: @hezhiqian01
Created: 8/6/2025
Status: ❌ Closed
Base:
main← Head:dev📝 Commits (2)
2ebbce6[Bugfix]Fix 'invalid argument' error when setting QP state to INIT via ibv_modify_qp on some rdma devices.0098b54Implement QP state query before resetting📊 Changes
1 file changed (+30 additions, -10 deletions)
View changed files
📝
mooncake-transfer-engine/src/transport/rdma_transport/rdma_endpoint.cpp(+30 -10)📄 Description
This PR fix the issue as below:
When using the Intel E810 RDMA NIC, calling the ibv_modify_qp function to change the QP state to INIT results in an 'Invalid argument (22)' error.
The error might be caused by the QP already being in the RESET state, and setting it to RESET again could lead to an internal state inconsistency.
The solution is to remove the step that sets the QP to RESET.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.