bnxt_en: Fix ring checking logic on 57500 chips.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 12 Jan 2019 05:13:04 +0000 (00:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jan 2019 18:51:39 +0000 (10:51 -0800)
commit0b815023a1d479aa8f8851ee880d5388e53b7ae5
treecfe7cb6518374852527c966454eeff6c06f2e9aa
parent8d008e64a2ebe6567c3f5e048b05842a0297350b
bnxt_en: Fix ring checking logic on 57500 chips.

In bnxt_hwrm_check_pf_rings(), add the proper flag to test the NQ
resources.  Without the proper flag, the firmware will change
the NQ resource allocation and remap the IRQ, causing missing
IRQs.  This issue shows up when adding MQPRIO TX queues, for example.

Fixes: 36d65be9a880 ("bnxt_en: Disable MSIX before re-reserving NQs/CMPL rings.")
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
drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h