-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-16971 cart: add RPC origin address
Add cart RPC origin address to error handling. Run-GHA: true Allow-unstable-test: true Signed-off-by: Di Wang <[email protected]>
- Loading branch information
Showing
6 changed files
with
148 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/src/mercury.h b/src/mercury.h | ||
index 5f720aa..e58f43a 100644 | ||
--- a/src/mercury.h | ||
+++ b/src/mercury.h | ||
@@ -1134,6 +1134,18 @@ static HG_INLINE hg_return_t | ||
HG_Event_trigger(hg_context_t *context, unsigned int max_count, | ||
unsigned int *actual_count_p); | ||
|
||
+/** | ||
+ * Convert addr to string | ||
+ * | ||
+ * \param context [IN] pointer to HG class | ||
+ * \param buf [OUT] buf to hold the converted address | ||
+ * \param buf_size_p [OUT] size of the buf to hold the converted address | ||
+ * \param addr [IN] address to be converted | ||
+ */ | ||
+HG_PUBLIC hg_return_t | ||
+HG_Addr_to_string(hg_class_t *hg_class, char *buf, hg_size_t *buf_size_p, | ||
+ hg_addr_t addr); | ||
+ | ||
/************************************/ | ||
/* Local Type and Struct Definition */ | ||
/************************************/ |