diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-02-13 01:18:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-13 04:18:49 +0100 |
commit | 964fd4801d40ead69a447482c0dd0cd4be495e47 (patch) | |
tree | f214b340efd49457e116c459a7405d6893a6d9f7 | |
parent | bnxt_en: Fix ethtool -l pre-set max combined channel. (diff) | |
download | linux-964fd4801d40ead69a447482c0dd0cd4be495e47.tar.xz linux-964fd4801d40ead69a447482c0dd0cd4be495e47.zip |
bnxt_en: Allow NETIF_F_NTUPLE to be enabled on VFs.
Commit ae10ae740ad2 ("bnxt_en: Add new hardware RFS mode.") has added
code to allow NTUPLE to be enabled on VFs. So we now remove the
BNXT_VF() check in rfs_capable() to allow NTUPLE on VFs.
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 8ac5987d7fe9..516c5d7b75f7 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -6291,7 +6291,7 @@ static bool bnxt_rfs_capable(struct bnxt *bp) #ifdef CONFIG_RFS_ACCEL int vnics, max_vnics, max_rss_ctxs; - if (BNXT_VF(bp) || !(bp->flags & BNXT_FLAG_MSIX_CAP)) + if (!(bp->flags & BNXT_FLAG_MSIX_CAP)) return false; vnics = 1 + bp->rx_nr_rings; |