aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2011-02-16 05:27:02 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-17 15:49:45 -0500
commitab532cf32b4055028ad095d3c1fee9eec28ed25e (patch)
tree03c537583ce9d9dfa87d96e83ec4f467695ed3e4 /drivers/net/bnx2x/bnx2x.h
parentf878b995b0f746f5726af9e66940f3bf373dae91 (diff)
bnx2x: Support for managing RX indirection table
Support fetching and retrieving RX indirection table via ethtool. Signed-off-by: Tom Herbert <therbert@google.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h
index 236d79a80624..c0dd30d870ae 100644
--- a/drivers/net/bnx2x/bnx2x.h
+++ b/drivers/net/bnx2x/bnx2x.h
@@ -1076,6 +1076,7 @@ struct bnx2x {
1076 int num_queues; 1076 int num_queues;
1077 int disable_tpa; 1077 int disable_tpa;
1078 int int_mode; 1078 int int_mode;
1079 u32 *rx_indir_table;
1079 1080
1080 struct tstorm_eth_mac_filter_config mac_filters; 1081 struct tstorm_eth_mac_filter_config mac_filters;
1081#define BNX2X_ACCEPT_NONE 0x0000 1082#define BNX2X_ACCEPT_NONE 0x0000
@@ -1799,5 +1800,6 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
1799BNX2X_EXTERN int load_count[2][3]; /* per path: 0-common, 1-port0, 2-port1 */ 1800BNX2X_EXTERN int load_count[2][3]; /* per path: 0-common, 1-port0, 2-port1 */
1800 1801
1801extern void bnx2x_set_ethtool_ops(struct net_device *netdev); 1802extern void bnx2x_set_ethtool_ops(struct net_device *netdev);
1803void bnx2x_push_indir_table(struct bnx2x *bp);
1802 1804
1803#endif /* bnx2x.h */ 1805#endif /* bnx2x.h */