From 6b81350e3830c640a6109dcc6d5a78d9f20d74da Mon Sep 17 00:00:00 2001 From: Jianxin Xiong Date: Tue, 5 Mar 2024 15:16:40 -0800 Subject: [PATCH] core: Add dummy definitions for removed caps/flags/types 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 --- include/rdma/fabric.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/rdma/fabric.h b/include/rdma/fabric.h index 104362e4d72..0e08233be45 100644 --- a/include/rdma/fabric.h +++ b/include/rdma/fabric.h @@ -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 #endif /* FABRIC_DIRECT */