]> www.infradead.org Git - users/dwmw2/linux.git/commit
bnxt_en: Allocate the max bp->irq_tbl size for dynamic msix allocation
authorMichael Chan <michael.chan@broadcom.com>
Wed, 28 Aug 2024 18:32:34 +0000 (11:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Aug 2024 22:33:25 +0000 (15:33 -0700)
commitf049d699aeee219ca33d08b48b7e14d7d86aebd5
treeae06f080a85e6e7858a56860ddf9b724639076c2
parent4343838ca5ebf9fb52fb9be2459092272a7f70b7
bnxt_en: Allocate the max bp->irq_tbl size for dynamic msix allocation

If dynamic MSIX allocation is supported, additional MSIX can be
allocated at run-time without reinitializing the existing MSIX entries.
The first step to support this dynamic scheme is to allocate a large
enough bp->irq_tbl if dynamic allocation is supported.

Reviewed-by: Hongguang Gao <hongguang.gao@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20240828183235.128948-9-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c