Skip to content

Conversation

@FujiZ
Copy link
Contributor

@FujiZ FujiZ commented Oct 1, 2024

  1. Implement SetScatterGatherEntry for post_send & post_recv
  2. Implement PostRecvGuard for post_recv

@codecov
Copy link

codecov bot commented Oct 1, 2024

Codecov Report

Attention: Patch coverage is 69.44444% with 22 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/verbs/queue_pair.rs 69.44% 22 Missing ⚠️
Files with missing lines Coverage Δ
src/verbs/queue_pair.rs 77.47% <69.44%> (+0.77%) ⬆️

@FujiZ FujiZ force-pushed the dev/post-recv branch 2 times, most recently from 9d3723d to 508927b Compare October 1, 2024 11:37
@FujiZ FujiZ requested a review from dragonJACson October 1, 2024 11:43
@FujiZ FujiZ self-assigned this Oct 1, 2024
fn start_post_recv(&mut self) -> PostRecvGuard<'_> {
PostRecvGuard {
qp: unsafe { self.qp() },
wrs: Vec::new(),
Copy link
Contributor

Choose a reason for hiding this comment

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

We should align the logic in BasicPostSendGuard using Vec::new() as well? Maybe in a separate commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think Vec::new() is better when we want to create an empty vector.

1. Implement SetScatterGatherEntry for post_send & post_recv
2. Implement PostRecvGuard for post_recv
@FujiZ FujiZ merged commit 6b5ddde into main Oct 2, 2024
@FujiZ FujiZ deleted the dev/post-recv branch October 2, 2024 05:27
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.

3 participants