aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYonatan Nachum <[email protected]>2024-01-31 09:34:03 +0000
committerLeon Romanovsky <[email protected]>2024-01-31 14:32:26 +0200
commit809c9c3bd6997edf2dcee4e1eb856425263be4f3 (patch)
tree9a44a7e832362bba26ec9f838f377db4c4d5967c /tools
parenta400073ce3dd3dbdf843e6c9c0a0a7f6ca9f05d7 (diff)
RDMA/efa: Limit EQs to available MSI-X vectors
When creating EQs we take into consideration the max number of EQs the device reported it can support and the number of available CPUs. There are situations where the number of EQs the device reported it can support and the PCI configuration of MSI-X is different, take it in account as well when creating EQs. Also request at least 1 MSI-X vector for the management queue and allow the kernel to return a number of vectors in a range between 1 and the max supported MSI-X vectors according to the PCI config. Reviewed-by: Michael Margolin <[email protected]> Reviewed-by: Yonatan Goldhirsh <[email protected]> Signed-off-by: Yonatan Nachum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions