Skip to content

Commit

Permalink
core: Add new CXI endpoint protocol FI_PROTO_CXI_RNR
Browse files Browse the repository at this point in the history
Reserve new Receiver-Not-Ready endpoint protocol for CXI
provider.

Signed-off-by: Steve Welch <[email protected]>
  • Loading branch information
swelch authored and j-xiong committed Feb 23, 2024
1 parent 3a3f35f commit 13585fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/rdma/fabric.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ enum {
FI_PROTO_COLL,
FI_PROTO_UCX,
FI_PROTO_SM2,
FI_PROTO_CXI_RNR,
};

enum {
Expand Down
9 changes: 9 additions & 0 deletions man/fi_endpoint.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,15 @@ protocol value set to one.
: Protocol for intra-node communication using shared memory segments
used by the sm2 provider
*FI_PROTO_CXI*
: Reliable-datagram protocol optimized for HPC applications
used by cxi provider.
*FI_PROTO_CXI_RNR*
: A version of the FI_PROTO_CXI protocol that implements an RNR
protocol which can be used when messaging is primarily expected
and FI_ORDER_SAS ordering is not required.
*FI_PROTO_UNSPEC*
: The protocol is not specified. This is usually provided as input,
with other attributes of the socket or the provider selecting the
Expand Down
1 change: 1 addition & 0 deletions src/fi_tostr.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ static void ofi_tostr_protocol(char *buf, size_t len, uint32_t protocol)
CASEENUMSTRN(FI_PROTO_CXI, len);
CASEENUMSTRN(FI_PROTO_XNET, len);
CASEENUMSTRN(FI_PROTO_SM2, len);
CASEENUMSTRN(FI_PROTO_CXI_RNR, len);
default:
if (protocol & FI_PROV_SPECIFIC)
ofi_strncatf(buf, len, "Provider specific");
Expand Down

0 comments on commit 13585fb

Please sign in to comment.