Skip to content

prov/efa: Fix the completion report for delivery complete#12115

Open
shijin-aws wants to merge 1 commit intoofiwg:mainfrom
shijin-aws:fix_dc
Open

prov/efa: Fix the completion report for delivery complete#12115
shijin-aws wants to merge 1 commit intoofiwg:mainfrom
shijin-aws:fix_dc

Conversation

@shijin-aws
Copy link
Copy Markdown
Contributor

Today, we report tx completions upon getting the receipt packet rx completion. This is wrong, because the tx completions may not arrive yet at this time and the buffer can still be used by the device. We cannot report completion in this case because the buffer cannot be safely reused by the application after getting the completion.

This patch fixes this bug by making delivery complete protocols only report completions when it get all tx ops finished and receives the receipt pkts.

Today, we report tx completions upon getting the receipt
packet rx completion. This is wrong, because the tx completions
may not arrive yet at this time and the buffer can still
be used by the device. We cannot report completion in this case
because the buffer cannot be safely reused by the application
after getting the completion.

This patch fixes this bug by making delivery complete protocols
only report completions when it get all tx ops finished and
receives the receipt pkts.

Signed-off-by: Shi Jin <sjina@amazon.com>
@shijin-aws shijin-aws changed the title prov/efa: Fix the completion report for delivery complte prov/efa: Fix the completion report for delivery complete Apr 7, 2026
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.

1 participant