Message ID | CF9C39F99A89134C9CF9C4CCB68B8DDF25DCC49B2D@orsmsx501.amr.corp.intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Fri, 15 Apr 2011 23:48:27 -0700 "Hefty, Sean" <sean.hefty@intel.com> wrote: > 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> Acked-by: Ira Weiny <weiny2@llnl.gov> > --- > include/rdma/rdma_cma.h | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/include/rdma/rdma_cma.h b/include/rdma/rdma_cma.h > index b48cd2e..3648c97 100755 > --- a/include/rdma/rdma_cma.h > +++ b/include/rdma/rdma_cma.h > @@ -639,8 +639,9 @@ enum { > > /* 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[] */ > }; > > /** > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/rdma/rdma_cma.h b/include/rdma/rdma_cma.h index b48cd2e..3648c97 100755 --- a/include/rdma/rdma_cma.h +++ b/include/rdma/rdma_cma.h @@ -639,8 +639,9 @@ enum { /* 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[] */ }; /**
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> --- include/rdma/rdma_cma.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html