bnxt_en: Add IRQ remapping logic.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 31 Mar 2018 17:54:18 +0000 (13:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Apr 2018 03:24:20 +0000 (23:24 -0400)
commite5811b8c09df9bc80eabc95339fceded23f16289
tree81afd20525e8adc7f0af23a49ef60491766c308b
parent08654eb213a8066b30c41e22067a9f066b40c80f
bnxt_en: Add IRQ remapping logic.

Add remapping logic so that bnxt_en can use any arbitrary MSIX vectors.
This will allow the driver to reserve one range of MSIX vectors to be
used by both bnxt_en and bnxt_re.  bnxt_en can now skip over the MSIX
vectors used by bnxt_re.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c