Adding script that calculates max_reg_mem for Mellanox mlx4 InfiniBand
hardware