diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-02-12 19:18:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-12 22:18:49 -0500 |
commit | 964fd4801d40ead69a447482c0dd0cd4be495e47 (patch) | |
tree | f214b340efd49457e116c459a7405d6893a6d9f7 /drivers/net/ethernet/broadcom/bnxt/bnxt.c | |
parent | a79a5276aa2f844bd368c1d3d5a625e1fbefd989 (diff) | |
download | op-kernel-dev-964fd4801d40ead69a447482c0dd0cd4be495e47.zip op-kernel-dev-964fd4801d40ead69a447482c0dd0cd4be495e47.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.c')
-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 8ac5987..516c5d7 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; |