From 5411e28c002e67c3eb28f215bacec4ec5e19f7ad Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 20 Feb 2013 21:27:01 +0000 Subject: [PATCH] btl/openib: don't align fragments on 2 byte boundaries (changed to 8) cmr:v1.6,v1.7 This commit was SVN r28083. --- ompi/mca/btl/openib/btl_openib_component.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index 13533eaeea..70909ec32f 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -2575,7 +2575,7 @@ btl_openib_component_init(int *num_btl_modules, if (OMPI_SUCCESS != ompi_free_list_init_ex_new( &mca_btl_openib_component.send_user_free, - sizeof(mca_btl_openib_put_frag_t), 2, + sizeof(mca_btl_openib_put_frag_t), 8, OBJ_CLASS(mca_btl_openib_put_frag_t), 0, 0, mca_btl_openib_component.ib_free_list_num, @@ -2592,7 +2592,7 @@ btl_openib_component_init(int *num_btl_modules, if(OMPI_SUCCESS != ompi_free_list_init_ex_new( &mca_btl_openib_component.recv_user_free, - sizeof(mca_btl_openib_get_frag_t), 2, + sizeof(mca_btl_openib_get_frag_t), 8, OBJ_CLASS(mca_btl_openib_get_frag_t), 0, 0, mca_btl_openib_component.ib_free_list_num, @@ -2609,7 +2609,7 @@ btl_openib_component_init(int *num_btl_modules, if(OMPI_SUCCESS != ompi_free_list_init_ex( &mca_btl_openib_component.send_free_coalesced, - length, 2, OBJ_CLASS(mca_btl_openib_coalesced_frag_t), + length, 8, OBJ_CLASS(mca_btl_openib_coalesced_frag_t), mca_btl_openib_component.ib_free_list_num, mca_btl_openib_component.ib_free_list_max, mca_btl_openib_component.ib_free_list_inc,