summaryrefslogtreecommitdiff
path: root/net/rds/rdma_transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/rdma_transport.h')
-rw-r--r--net/rds/rdma_transport.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rds/rdma_transport.h b/net/rds/rdma_transport.h
index 200d3134aaae..d2fdb1529585 100644
--- a/net/rds/rdma_transport.h
+++ b/net/rds/rdma_transport.h
@@ -11,7 +11,12 @@
#define RDS_RDMA_RESOLVE_TIMEOUT_MS 5000
-int rds_rdma_conn_connect(struct rds_connection *conn);
+/* Below reject reason is for legacy interoperability issue with non-linux
+ * RDS endpoints where older version incompatibility is conveyed via value 1.
+ * For future version(s), proper encoded reject reason should be used.
+ */
+#define RDS_RDMA_REJ_INCOMPAT 1
+
int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
struct rdma_cm_event *event);
int rds6_rdma_cm_event_handler(struct rdma_cm_id *cm_id,