Nayan Kumar c8c7c07581 RDMA/irdma: Make resource distribution algorithm more QP oriented
Adapt the resource distribution algorithm in irdma_cfg_fpm_val to be more
QP oriented. If the configuration is too big for the available memory,
trim the MR and PBLE's first before trimming the QPs. This also avoids
having to double QPs requested as input to algorithm for GEN1 devices.

Link: https://lore.kernel.org/r/20220705230815.265-5-shiraz.saleem@intel.com
Signed-off-by: Nayan Kumar <nayan.kumar@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-07-18 10:39:50 +03:00
..
2022-05-02 11:10:33 -03:00
2022-02-08 12:54:47 -04:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:18 -03:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00