Re: Maximum size for memory registration (ibv_reg_mr)

Or Gerlitz
2010-10-07T09:40:02Z

Roland Dreier wrote:
>> max_mr_size returned by calling ibv_devinfo is 0xffffffffffffffff. Does this mean the size is unlimited?
> It means that the query function might be returning bad data. What adapter is it?

Yep, mlx4_ib_query_device does props->max_mr_size = ~0ull ...

Jack, what would it take to fix that? I took a look and other settings are taken from
dev->dev->caps.xxx where caps is of type mlx4_caps which is in turn filled @ drivers/net/mlx4/main.c
:: mlx4_dev_cap I wasn't sure what field/computation would exactly account for later setting max_mr_size

Or.