HowTo Increase Memory Size used by Mellanox Adapters + Mellanox connect x5

How to increase Memory Size used by Mellanox Adapters i.e. for Mellanox connect-x5 adaptors. I am able to register memory of 4kB, 8kB, 16kB. ibv_reg_mr fails for registering memory of size 64kB.

How the memory size limit can be changed for mellanox connect x5 devices?

Thanks.…!!!