Skip to content

Commit

Permalink
core: Add dummy definitions for removed caps/flags/types
Browse files Browse the repository at this point in the history
They are needed for building previous versions of fabtests, which is a
scenario in AWS CI.

Should be removed in 2.0.

Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
  • Loading branch information
j-xiong committed Mar 7, 2024
1 parent ef6db8b commit 6b81350
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/rdma/fabric.h
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,12 @@ struct fi_param {
int fi_getparams(struct fi_param **params, int *count);
void fi_freeparams(struct fi_param *params);

/* Dummy definitions for removed flags/caps/types. For compiling old fabtests */
#define FI_VARIABLE_MSG 0ULL
#define FI_NOTIFY_FLAGS_ONLY 0ULL
#define FI_RESTRICTED_COMP 0ULL
#define FI_EP_SOCK_STREAM FI_EP_UNSPEC

#ifdef FABRIC_DIRECT
#include <rdma/fi_direct.h>
#endif /* FABRIC_DIRECT */
Expand Down

0 comments on commit 6b81350

Please sign in to comment.