diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-10-17 19:08:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 09:51:59 -0400 |
commit | 030f3356b64a129a1ab34175491a8175bef98e6e (patch) | |
tree | 444fccbb8f7dabb1987132c008525b71bea83c03 /drivers/net/bnx2x/bnx2x.h | |
parent | c8e4f48a8eb236eb672c6da0731ee01a633844f0 (diff) |
bnx2x: remove unnecessary FUNC_FLG_RSS flag and related
As suggested by: Joe Perches <joe@perches.com>
Although RSS is meaningless when there is a single HW queue we
still need it enabled in order to have HW Rx hash generated.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index c49b643e009b..556cad5ed012 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h | |||
@@ -1180,15 +1180,10 @@ struct bnx2x { | |||
1180 | TSTORM_ETH_FUNCTION_COMMON_CONFIG_RSS_IPV6_TCP_CAPABILITY | 1180 | TSTORM_ETH_FUNCTION_COMMON_CONFIG_RSS_IPV6_TCP_CAPABILITY |
1181 | 1181 | ||
1182 | /* func init flags */ | 1182 | /* func init flags */ |
1183 | #define FUNC_FLG_RSS 0x0001 | 1183 | #define FUNC_FLG_STATS 0x0001 |
1184 | #define FUNC_FLG_STATS 0x0002 | 1184 | #define FUNC_FLG_TPA 0x0002 |
1185 | /* removed FUNC_FLG_UNMATCHED 0x0004 */ | 1185 | #define FUNC_FLG_SPQ 0x0004 |
1186 | #define FUNC_FLG_TPA 0x0008 | 1186 | #define FUNC_FLG_LEADING 0x0008 /* PF only */ |
1187 | #define FUNC_FLG_SPQ 0x0010 | ||
1188 | #define FUNC_FLG_LEADING 0x0020 /* PF only */ | ||
1189 | |||
1190 | #define FUNC_CONFIG(flgs) ((flgs) & (FUNC_FLG_RSS | FUNC_FLG_TPA | \ | ||
1191 | FUNC_FLG_LEADING)) | ||
1192 | 1187 | ||
1193 | struct rxq_pause_params { | 1188 | struct rxq_pause_params { |
1194 | u16 bd_th_lo; | 1189 | u16 bd_th_lo; |