Skip to content

Commit

Permalink
Fix ENOSPC when ldms_ls over rdma
Browse files Browse the repository at this point in the history
The LDMS connect message got bigger when RAIL was introduced. The ZAP
RDMA connect message limit was not updated to support it, causing ENOSPC
when the active side zap-rdma-connect to the peer.
  • Loading branch information
narategithub authored and tom95858 committed Jul 19, 2023
1 parent 9973dd4 commit 56c62d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/zap/rdma/zap_rdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ struct z_rdma_conn_data {
};
#pragma pack(pop)

#define RDMA_CONN_DATA_MAX (56)
#define RDMA_CONN_DATA_MAX (196)
#define ZAP_RDMA_CONN_DATA_MAX (RDMA_CONN_DATA_MAX - sizeof(struct z_rdma_conn_data))

#define RDMA_ACCEPT_DATA_MAX (196)
Expand Down

0 comments on commit 56c62d4

Please sign in to comment.