Skip to content

Commit

Permalink
prov/usnic: report the counter number
Browse files Browse the repository at this point in the history
Signed-off-by: Thananon Patinyasakdikul <[email protected]>
  • Loading branch information
Thananon Patinyasakdikul committed May 25, 2017
1 parent 59767c0 commit fb2a872
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions prov/usnic/src/usdf_dgram.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#define USDF_DGRAM_SUPP_RECVMSG_FLAGS (FI_COMPLETION)
#define USDF_DGRAM_IOV_LIMIT (USDF_DGRAM_DFLT_SGE)
#define USDF_DGRAM_RMA_IOV_LIMIT 0
#define USDF_DGRAM_CNTR_CNT 0


int usdf_dgram_fill_rx_attr(struct fi_info *hints,
Expand Down
3 changes: 2 additions & 1 deletion prov/usnic/src/usdf_ep_dgram.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ static const struct fi_domain_attr dgram_dflt_domain_attr = {
.control_progress = FI_PROGRESS_AUTO,
.data_progress = FI_PROGRESS_MANUAL,
.resource_mgmt = FI_RM_DISABLED,
.mr_mode = OFI_MR_BASIC_MAP | FI_MR_LOCAL
.mr_mode = OFI_MR_BASIC_MAP | FI_MR_LOCAL,
.cntr_cnt = USDF_DGRAM_CNTR_CNT
};

/*******************************************************************************
Expand Down
1 change: 1 addition & 0 deletions prov/usnic/src/usdf_ep_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ static const struct fi_domain_attr msg_dflt_domain_attr = {
.data_progress = FI_PROGRESS_MANUAL,
.resource_mgmt = FI_RM_DISABLED,
.mr_mode = OFI_MR_BASIC_MAP | FI_MR_LOCAL,
.cntr_cnt = USDF_MSG_CNTR_CNT
};

/*******************************************************************************
Expand Down
3 changes: 2 additions & 1 deletion prov/usnic/src/usdf_ep_rdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ static const struct fi_domain_attr rdm_dflt_domain_attr = {
.control_progress = FI_PROGRESS_AUTO,
.data_progress = FI_PROGRESS_MANUAL,
.resource_mgmt = FI_RM_DISABLED,
.mr_mode = OFI_MR_BASIC_MAP | FI_MR_LOCAL
.mr_mode = OFI_MR_BASIC_MAP | FI_MR_LOCAL,
.cntr_cnt = USDF_RDM_CNTR_CNT
};

/*******************************************************************************
Expand Down
2 changes: 2 additions & 0 deletions prov/usnic/src/usdf_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#define USDF_MSG_IOV_LIMIT (USDF_MSG_DFLT_SGE)
#define USDF_MSG_RMA_IOV_LIMIT 0

#define USDF_MSG_CNTR_CNT 0

#define USDF_MSG_MAX_MSG UINT_MAX

#define USDF_MSG_MAX_INJECT_SIZE 64
Expand Down
2 changes: 2 additions & 0 deletions prov/usnic/src/usdf_rdm.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#define USDF_RDM_IOV_LIMIT (USDF_RDM_DFLT_SGE)
#define USDF_RDM_RMA_IOV_LIMIT 0

#define USDF_RDM_CNTR_CNT 0

#define USDF_RDM_MSG_ORDER (FI_ORDER_NONE)
#define USDF_RDM_COMP_ORDER (FI_ORDER_NONE)

Expand Down

0 comments on commit fb2a872

Please sign in to comment.