aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2019-12-10 02:49:07 -0500
committerDavid S. Miller <davem@davemloft.net>2019-12-10 17:37:14 -0800
commit0c722ec0a289c7f6b53f89bad1cfb7c4db3f7a62 (patch)
tree1e8735afdd3b4aacb0cc141402378b7b5f427d4b /drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h
parentNFC: nxp-nci: Fix probing without ACPI (diff)
downloadlinux-dev-0c722ec0a289c7f6b53f89bad1cfb7c4db3f7a62.tar.xz
linux-dev-0c722ec0a289c7f6b53f89bad1cfb7c4db3f7a62.zip
bnxt_en: Fix MSIX request logic for RDMA driver.
The logic needs to check both bp->total_irqs and the reserved IRQs in hw_resc->resv_irqs if applicable and see if both are enough to cover the L2 and RDMA requested vectors. The current code is only checking bp->total_irqs and can fail in some code paths, such as the TX timeout code path with the RDMA driver requesting vectors after recovery. In this code path, we have not reserved enough MSIX resources for the RDMA driver yet. Fixes: 75720e6323a1 ("bnxt_en: Keep track of reserved IRQs.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h')
0 files changed, 0 insertions, 0 deletions