[ofa-general] dapl attribute bug

Steve Wise swise at opengridcomputing.com
Mon Feb 2 08:25:14 PST 2009


Hey Arlin,

We've uncovered a problem with the DAPL attribute mappings to the linux 
rdma device attributes.

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?


Steve.



More information about the general mailing list