btl/openib: don't align fragments on 2 byte boundaries (changed to 8)
authorhjelmn
Wed Feb 20 21:27:01 2013 +0000 (3 months ago)
changeset 21420bb960562ef3b
parent 21415 9c401a2da595
child 21421 c743601b3f9f
btl/openib: don't align fragments on 2 byte boundaries (changed to 8)

cmr:v1.6,v1.7
ompi/mca/btl/openib/btl_openib_component.c
     1.1 --- a/ompi/mca/btl/openib/btl_openib_component.c	Tue Feb 19 16:19:33 2013 +0000
     1.2 +++ b/ompi/mca/btl/openib/btl_openib_component.c	Wed Feb 20 21:27:01 2013 +0000
     1.3 @@ -2575,7 +2575,7 @@
     1.4  
     1.5      if (OMPI_SUCCESS != ompi_free_list_init_ex_new(
     1.6                  &mca_btl_openib_component.send_user_free,
     1.7 -                sizeof(mca_btl_openib_put_frag_t), 2,
     1.8 +                sizeof(mca_btl_openib_put_frag_t), 8,
     1.9                  OBJ_CLASS(mca_btl_openib_put_frag_t),
    1.10                  0, 0,
    1.11                  mca_btl_openib_component.ib_free_list_num,
    1.12 @@ -2592,7 +2592,7 @@
    1.13  
    1.14      if(OMPI_SUCCESS != ompi_free_list_init_ex_new(
    1.15                  &mca_btl_openib_component.recv_user_free,
    1.16 -                sizeof(mca_btl_openib_get_frag_t), 2,
    1.17 +                sizeof(mca_btl_openib_get_frag_t), 8,
    1.18                  OBJ_CLASS(mca_btl_openib_get_frag_t),
    1.19                  0, 0,
    1.20                  mca_btl_openib_component.ib_free_list_num,
    1.21 @@ -2609,7 +2609,7 @@
    1.22  
    1.23      if(OMPI_SUCCESS != ompi_free_list_init_ex(
    1.24                  &mca_btl_openib_component.send_free_coalesced,
    1.25 -                length, 2, OBJ_CLASS(mca_btl_openib_coalesced_frag_t),
    1.26 +                length, 8, OBJ_CLASS(mca_btl_openib_coalesced_frag_t),
    1.27                  mca_btl_openib_component.ib_free_list_num,
    1.28                  mca_btl_openib_component.ib_free_list_max,
    1.29                  mca_btl_openib_component.ib_free_list_inc,