[ofa-general] [PATCH] mlx4_core: enable changing default max HCA resource limits at run time -- reposting
Jack Morgenstein
jackm at dev.mellanox.co.il
Mon Apr 28 08:20:21 PDT 2008
On Monday 28 April 2008 18:02, Hal Rosenstock wrote:
> In places where there are reserved resources (like qps, srqs, others ?),
> should it be ensured that the parameters set are above the logs of those
> amounts so the user doesn't shoot themselves in the foot by accident ?
>
No worry there. The reserved resources are subtracted from the above
log amounts (when expressed as a power-of-2: 1UL << log), and the
resulting amounts (<power-of-2> - reserved) returned to the user as
the device limits.
(check this out using ibv_devinfo)
Thus, the user CANNOT "shoot themselves in the foot".
- Jack
(P.S. this patch is in OFED 1.3 -- do "modinfo mlx4_core" to see the
above module parameters ).
More information about the general
mailing list