net/mlx4: Set number of RX rings in a utility function