diff options
| author | Brett Creeley <brett.creeley@amd.com> | 2026-08-05 11:02:53 +0530 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-08-06 07:21:21 -0400 |
| commit | 1d0f877d593438a494ca5b05cc8699150409005a (patch) | |
| tree | 8b6f812e83410bdc7ab5afe4fa7e2310b8dec75e /tools/perf/scripts/python/stackcollapse.py | |
| parent | a9394971825933074032794a5feee5211509c774 (diff) | |
RDMA/ionic: Cap eq_count to the eth driver's interrupt vector budget
ionic_fill_lif_cfg() reads eq_count from firmware uncapped, but the
eth driver only reserves ionic->neqs_per_lif MSI-X vectors for RDMA
event queues. Since ionic_rdma probes via the auxiliary bus before
the netdev is brought up, it can exhaust the shared interrupt bitmap,
causing ionic_open() to fail with -ENOSPC when allocating rx/tx
interrupts.
Cap RDMA eq_count to neqs_per_lif, which is populated by
ionic_lif_size() at PCI probe before the RDMA aux device registers.
Fixes: 8d765af51a09 ("RDMA/ionic: Register auxiliary module for ionic ethernet adapter")
Cc: stable@vger.kernel.org
Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
Link: https://patch.msgid.link/20260805053254.4023262-1-abhijit.gangurde@amd.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
