Skip to content

Commit

Permalink
Merge pull request ofiwg#3019 from thananon/pr/counters
Browse files Browse the repository at this point in the history
prov/usnic: report the counter number
  • Loading branch information
jsquyres authored Jun 2, 2017
2 parents e45b5f0 + fb2a872 commit 5ca2962
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 @@ -418,7 +418,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 @@ -118,6 +118,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 @@ -120,7 +120,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 5ca2962

Please sign in to comment.