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.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -300,6 +300,10 @@ enum { · 299 unmodified lines | |||
| 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 | ||