summaryrefslogtreecommitdiff
path: root/sys/ofed/include
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2021-06-16 13:01:47 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2021-07-26 16:04:31 +0000
commit1753641a8b93c625f65b4c5333b66db365eefe77 (patch)
treee603111831ecf484d0a41ce7f203f67f2b4a985e /sys/ofed/include
parent7449dd9a127dc3ec75c3445713ab2d8103537d02 (diff)
Diffstat (limited to 'sys/ofed/include')
-rw-r--r--sys/ofed/include/rdma/rdma_cm.h1
-rw-r--r--sys/ofed/include/uapi/rdma/rdma_user_cm.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/ofed/include/rdma/rdma_cm.h b/sys/ofed/include/rdma/rdma_cm.h
index b5ed43426969..8b9b38601325 100644
--- a/sys/ofed/include/rdma/rdma_cm.h
+++ b/sys/ofed/include/rdma/rdma_cm.h
@@ -385,6 +385,7 @@ int rdma_set_reuseaddr(struct rdma_cm_id *id, int reuse);
*/
int rdma_set_afonly(struct rdma_cm_id *id, int afonly);
+int rdma_set_ack_timeout(struct rdma_cm_id *id, u8 timeout);
/**
* rdma_get_service_id - Return the IB service ID for a specified address.
* @id: Communication identifier associated with the address.
diff --git a/sys/ofed/include/uapi/rdma/rdma_user_cm.h b/sys/ofed/include/uapi/rdma/rdma_user_cm.h
index 7c6ade294835..d93bc9abfe90 100644
--- a/sys/ofed/include/uapi/rdma/rdma_user_cm.h
+++ b/sys/ofed/include/uapi/rdma/rdma_user_cm.h
@@ -296,6 +296,10 @@ enum {
RDMA_OPTION_ID_TOS = 0,
RDMA_OPTION_ID_REUSEADDR = 1,
RDMA_OPTION_ID_AFONLY = 2,
+ RDMA_OPTION_ID_ACK_TIMEOUT = 3
+};
+
+enum {
RDMA_OPTION_IB_PATH = 1
};