mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-24 12:17:26 +08:00
bnxt_en: Don't fallback to INTA on VF.
Only MSI-X can be used on a VF. The driver should fail initialization if it cannot successfully enable MSI-X. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f28f20da70
commit
1fa72e29e1
@ -4309,7 +4309,7 @@ static int bnxt_setup_int_mode(struct bnxt *bp)
|
||||
if (bp->flags & BNXT_FLAG_MSIX_CAP)
|
||||
rc = bnxt_setup_msix(bp);
|
||||
|
||||
if (!(bp->flags & BNXT_FLAG_USING_MSIX)) {
|
||||
if (!(bp->flags & BNXT_FLAG_USING_MSIX) && BNXT_PF(bp)) {
|
||||
/* fallback to INTA */
|
||||
rc = bnxt_setup_inta(bp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user