diff options
author | Michael Chan <michael.chan@broadcom.com> | 2016-04-25 06:30:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-27 20:18:45 (GMT) |
commit | 1fa72e29e14d97fbda15437c648d7cc4eb00bff8 (patch) | |
tree | b4b15c21d8a24a88be9c9818a01ddd5e0ae38965 | |
parent | f28f20da704d399fb1e4d8838ffd697a357d9cc8 (diff) | |
download | linux-1fa72e29e14d97fbda15437c648d7cc4eb00bff8.tar.xz |
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>
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 12a009d..e787deb 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -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); } |