On Wed, Jan 31, 2024 at 09:34:03AM +0000, ynachum@xxxxxxxxxx wrote: > From: Yonatan Nachum <ynachum@xxxxxxxxxx> > > 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@xxxxxxxxxx> > Reviewed-by: Yonatan Goldhirsh <ygold@xxxxxxxxxx> > Signed-off-by: Yonatan Nachum <ynachum@xxxxxxxxxx> > --- > drivers/infiniband/hw/efa/efa.h | 1 + > drivers/infiniband/hw/efa/efa_main.c | 32 +++++++++++++--------------- > 2 files changed, 16 insertions(+), 17 deletions(-) I applied this patch to -next, because it lacks Fixes line and previous version was targeted to -next too. Please add changelog next time. Thanks