bnxt_en: Remove runtime interrupt vector allocation
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 12 Dec 2022 18:36:29 +0000 (10:36 -0800)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 2 Feb 2023 03:02:20 +0000 (19:02 -0800)
commit30343221132430c24b468493c861f71e2bad131f
tree8a22b4cad6e015fbd3b0a49ff00a7cf0e3e33530
parenta43c26fa2e6ca724360927856c326ebd3247b843
bnxt_en: Remove runtime interrupt vector allocation

Modified the bnxt_en code to create and pre-configure RDMA devices
with the right MSI-X vector count for the ROCE driver to use.
This is to align the ROCE driver to the auxiliary device model which
will simply bind the driver without getting into PCI-related handling.
All PCI-related logic will now be in the bnxt_en driver.

Suggested-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/main.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h