diff options
author | Yonatan Nachum <[email protected]> | 2024-01-31 09:34:03 +0000 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2024-01-31 14:32:26 +0200 |
commit | 809c9c3bd6997edf2dcee4e1eb856425263be4f3 (patch) | |
tree | 9a44a7e832362bba26ec9f838f377db4c4d5967c /net/lapb/lapb_subr.c | |
parent | a400073ce3dd3dbdf843e6c9c0a0a7f6ca9f05d7 (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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions