[ofa-general] RE: dapl attribute bug

Davis, Arlin R arlin.r.davis at intel.com
Tue Feb 3 16:17:13 PST 2009


 

>The DAPL dat_ia_attr->max_lmr_block_size is a u32, yet the dapl code 
>maps this to the linux ib_device_attr->max_mr_size which is u64.
>
>This causes dapltest to fail in some cases when running over chelsio 
>which sets max_mr_size to 0x100000000 (4GB).  The dapl code truncates 
>the value to 0. See dapl/openib_cma/dapl_ib_util.c.
>
>I'm not sure what the fix should be, but maybe the dapl code 
>should set 
>anything over 32 bits to 0xffffffff?
>

This attribute changed with DAT 2.0 to match the 32-bit ibv_sge
length field. Since there are no direct max lmr segments mappings
I will need add some checks when setting max_lmr_block_size from
max_mr_size. Thanks.

-arlin


More information about the general mailing list