Add the definitions needed to set IB path record data using set_option. This will be used by rdma_create_ep().
Signed-off-by: Sean Hefty <[email protected]> --- include/rdma/rdma_cma.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/rdma/rdma_cma.h b/include/rdma/rdma_cma.h index 89013a0..391c35c 100644 --- a/include/rdma/rdma_cma.h +++ b/include/rdma/rdma_cma.h @@ -588,12 +588,14 @@ const char *rdma_event_str(enum rdma_cm_event_type event); /* Option levels */ enum { - RDMA_OPTION_ID = 0 + RDMA_OPTION_ID = 0, + RDMA_OPTION_IB = 1 }; /* Option details */ enum { - RDMA_OPTION_ID_TOS = 0 /* uint8_t: RFC 2474 */ + RDMA_OPTION_ID_TOS = 0, /* uint8_t: RFC 2474 */ + RDMA_OPTION_IB_PATH = 1 /* struct ib_path_data[] */ }; /** -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
