bnxt_en: Replace deprecated PCI MSIX APIs
authorMichael Chan <michael.chan@broadcom.com>
Wed, 28 Aug 2024 18:32:33 +0000 (11:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Aug 2024 22:33:25 +0000 (15:33 -0700)
commit4343838ca5ebf9fb52fb9be2459092272a7f70b7
treeda42aa75c476c84cf2769fc208f2c8d9e36ce2da
parentaf756aad3d5700c22079e37dc3bbf448559fce8e
bnxt_en: Replace deprecated PCI MSIX APIs

Use the new pci_alloc_irq_vectors() and pci_free_irq_vectors() to
replace the deprecated pci_enable_msix_range() and pci_disable_msix().

Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@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-8-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt.c