diff options
| author | Danit Goldberg <danitg@mellanox.com> | 2019-01-24 07:18:15 -0500 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-08 18:14:21 -0500 |
| commit | 2c1619edef61a03cb516efaa81750784c3071d10 (patch) | |
| tree | c51a1a7440a16ac8a996e7718ddaf00f45d5bfad /include/uapi | |
| parent | ecb53febfcad565366762b7413b03452874643db (diff) | |
IB/cma: Define option to set ack timeout and pack tos_set
Define new option in 'rdma_set_option' to override calculated QP timeout
when requested to provide QP attributes to modify a QP.
At the same time, pack tos_set to be bitfield.
Signed-off-by: Danit Goldberg <danitg@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/rdma/rdma_user_cm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_user_cm.h b/include/uapi/rdma/rdma_user_cm.h index 0d1e78ebad05..e42940a215a3 100644 --- a/include/uapi/rdma/rdma_user_cm.h +++ b/include/uapi/rdma/rdma_user_cm.h | |||
| @@ -300,6 +300,10 @@ enum { | |||
| 300 | RDMA_OPTION_ID_TOS = 0, | 300 | RDMA_OPTION_ID_TOS = 0, |
| 301 | RDMA_OPTION_ID_REUSEADDR = 1, | 301 | RDMA_OPTION_ID_REUSEADDR = 1, |
| 302 | RDMA_OPTION_ID_AFONLY = 2, | 302 | RDMA_OPTION_ID_AFONLY = 2, |
| 303 | RDMA_OPTION_ID_ACK_TIMEOUT = 3 | ||
| 304 | }; | ||
| 305 | |||
| 306 | enum { | ||
| 303 | RDMA_OPTION_IB_PATH = 1 | 307 | RDMA_OPTION_IB_PATH = 1 |
| 304 | }; | 308 | }; |
| 305 | 309 | ||
