1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/efa
Yonatan Nachum 809c9c3bd6 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 <mrgolin@amazon.com>
Reviewed-by: Yonatan Goldhirsh <ygold@amazon.com>
Signed-off-by: Yonatan Nachum <ynachum@amazon.com>
Link: https://lore.kernel.org/r/20240131093403.18624-1-ynachum@amazon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-01-31 14:32:26 +02:00
..
efa.h RDMA/efa: Limit EQs to available MSI-X vectors 2024-01-31 14:32:26 +02:00
efa_admin_cmds_defs.h RDMA/efa: Add EFA query MR support 2024-01-07 12:02:27 +02:00
efa_admin_defs.h RDMA/efa: CQ notifications 2021-10-06 19:47:18 -03:00
efa_com.c RDMA/efa: CQ notifications 2021-10-06 19:47:18 -03:00
efa_com.h RDMA/efa: CQ notifications 2021-10-06 19:47:18 -03:00
efa_com_cmd.c RDMA/efa: Add EFA query MR support 2024-01-07 12:02:27 +02:00
efa_com_cmd.h RDMA/efa: Add EFA query MR support 2024-01-07 12:02:27 +02:00
efa_common_defs.h RDMA/efa: Unified getters/setters for device structs bitmask access 2020-02-28 12:12:04 -04:00
efa_io_defs.h RDMA/efa: Add rdma write capability to device caps 2023-04-21 19:18:58 -03:00
efa_main.c RDMA/efa: Limit EQs to available MSI-X vectors 2024-01-31 14:32:26 +02:00
efa_regs_defs.h RDMA/efa: CQ notifications 2021-10-06 19:47:18 -03:00
efa_verbs.c RDMA/efa: Add EFA query MR support 2024-01-07 12:02:27 +02:00
Kconfig RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00
Makefile RDMA/efa: Add driver to Kconfig/Makefile 2019-05-07 12:47:47 -03:00