]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef8733384598514824692db7c0b1d77ae1713d56
treecfe7cb6518374852527c966454eeff6c06f2e9aa
parentff81b92163b60cd085e97b719c9e8db7d6ae8480
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: 9d188d80012d ("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