Skip to content

Commit

Permalink
util_domain: Save the msg_order TX/RX attributes in the domain
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Didelot <[email protected]>
  • Loading branch information
sydidelot committed Sep 28, 2023
1 parent 6b62f34 commit 7f8a90a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/ofi_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ struct util_domain {
uint64_t info_domain_caps;
uint64_t info_domain_mode;
int mr_mode;
uint64_t tx_msg_order;
uint64_t rx_msg_order;
uint32_t addr_format;
enum fi_av_type av_type;
struct ofi_mr_map mr_map;
Expand Down
2 changes: 2 additions & 0 deletions prov/util/src/util_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ util_domain_init(struct util_domain *domain, const struct fi_info *info,
domain->info_domain_caps = info->caps | info->domain_attr->caps;
domain->info_domain_mode = info->mode | info->domain_attr->mode;
domain->mr_mode = info->domain_attr->mr_mode;
domain->tx_msg_order = info->tx_attr->msg_order;
domain->rx_msg_order = info->rx_attr->msg_order;
domain->addr_format = info->addr_format;
domain->av_type = info->domain_attr->av_type;
domain->threading = info->domain_attr->threading;
Expand Down

0 comments on commit 7f8a90a

Please sign in to comment.