commit | 75720e6323a1d195ae3ebf1a7b5e17c2e687f552 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Sun Dec 09 07:01:00 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 09 11:46:58 2018 -0800 |
tree | 6eda592fd7ef4cc038c0902364de571b7abf9342 | |
parent | 804fba4e9f508c8004a4bfbdf3f300ca237c56df [diff] |
bnxt_en: Keep track of reserved IRQs. The new 57500 chips use 1 NQ per MSIX vector, whereas legacy chips use 1 CP ring per MSIX vector. To better unify this, add a resv_irqs field to struct bnxt_hw_resc. On legacy chips, we initialize resv_irqs with resv_cp_rings. On new chips, we initialize it with the allocated MSIX resources. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>