RDMA/bnxt_re: Cache MSIx info to a local structure

[ Upstream commit 31bad59805 ]

L2 driver allocates the vectors for RoCE and pass it through the
en_dev structure to RoCE. During probe, cache the MSIx related
info to a local structure.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/1731577748-1804-5-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Stable-dep-of: f0df225d12 ("RDMA/bnxt_re: Add sanity checks on rdev validity")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Kalesh AP 2024-11-14 01:49:08 -08:00 • committed by Greg Kroah-Hartman
commit edaffce572
2 changed files with 11 additions and 8 deletions