-
Notifications
You must be signed in to change notification settings - Fork 456
prov/efa: Improve emulated 1 sided protocol error case behavior #11452
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
b27cfad
af2cdbe
b2ff094
ccaa511
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -713,7 +713,13 @@ void efa_rdm_pke_handle_rx_error(struct efa_rdm_pke *pkt_entry, int prov_errno) | |
| "Packet receive error from non TX/RX packet. Our address: %s\n", | ||
| ep_addr_str); | ||
|
|
||
| efa_base_ep_write_eq_error(&ep->base_ep, err, prov_errno, true); | ||
| if (efa_rdm_pkt_type_of(pkt_entry) == EFA_RDM_WRITE_RTA_PKT || | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any rx error are unexpected, and I doubt whether you can really derive that pkt type here since the rx is failed.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need the RX error to be handled for 1 sided emulated atomics. |
||
| efa_rdm_pkt_type_of(pkt_entry) == EFA_RDM_FETCH_RTA_PKT || | ||
| efa_rdm_pkt_type_of(pkt_entry) == EFA_RDM_COMPARE_RTA_PKT) | ||
| /* TODO Send NACK */ | ||
| efa_base_ep_write_eq_error(&ep->base_ep, err, prov_errno, false); | ||
| else | ||
| efa_base_ep_write_eq_error(&ep->base_ep, err, prov_errno, true); | ||
| efa_rdm_pke_release_rx(pkt_entry); | ||
| return; | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the last commit said, we shouldn't even call efa_base_ep_write_eq_error