Support equivalent of SO_REUSEADDR socket option. When specified
the rdma_cm_id will be bound to a reuseable address. This will
allow other users to bind to that same address. This is needed
to support lustre on clusters larger than 1024 nodes.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
/* Option details */
enum {
- RDMA_OPTION_ID_TOS = 0, /* uint8_t: RFC 2474 */
- RDMA_OPTION_IB_PATH = 1 /* struct ibv_path_data[] */
+ RDMA_OPTION_ID_TOS = 0, /* uint8_t: RFC 2474 */
+ RDMA_OPTION_ID_REUSEADDR = 1, /* int: ~SO_REUSEADDR */
+ RDMA_OPTION_IB_PATH = 1 /* struct ibv_path_data[] */
};
/**