diff options
author | Michael Chan <michael.chan@broadcom.com> | 2016-12-29 20:13:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-29 22:37:23 +0300 |
commit | ae10ae740ad2befd92b6f5b2ab39220bce6e5da2 (patch) | |
tree | f5d8baa88f72a901529787e87535ad743d2f5c08 /drivers/net/ethernet/broadcom/bnxt/bnxt.h | |
parent | 8079e8f107bf02e1e5ece89239dd2fb475a4735f (diff) | |
download | linux-ae10ae740ad2befd92b6f5b2ab39220bce6e5da2.tar.xz |
bnxt_en: Add new hardware RFS mode.
The existing hardware RFS mode uses one hardware RSS context block
per ring just to calculate the RSS hash. This is very wasteful and
prevents VF functions from using it. The new hardware mode shares
the same hardware RSS context for RSS placement and RFS steering.
This allows VFs to enable RFS.
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.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.h b/drivers/net/ethernet/broadcom/bnxt/bnxt.h index 80bf1ab7df8c..75803e5f3bf5 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.h +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.h @@ -708,6 +708,7 @@ struct bnxt_vnic_info { #define BNXT_VNIC_RFS_FLAG 2 #define BNXT_VNIC_MCAST_FLAG 4 #define BNXT_VNIC_UCAST_FLAG 8 +#define BNXT_VNIC_RFS_NEW_RSS_FLAG 0x10 }; #if defined(CONFIG_BNXT_SRIOV) |