aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorraghavendra.koushik@neterion.com <raghavendra.koushik@neterion.com>2005-08-03 15:38:01 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-08-11 00:10:45 -0400
commitb6e3f9828b9dc188cfe80364365cc68bf45df949 (patch)
tree37b0669386484455f6a2fea10acc63d44bcf1d04 /drivers/net/s2io.h
parent541ae68f6ddf1c27aa6879935ce541f110484202 (diff)
[PATCH] S2io: Support for bimodal interrupts
Hi, This is a patch to provide bimodal interrupt moderation support for Xframe II adapter. Basically, in this moderation scheme, the adapter raises a traffic interrupt if the no. of packets transmitted and/or received reaches a programmable threshold. Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com> Signed-off-by: Raghavendra Koushik <raghavendra.koushik@neterion.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r--drivers/net/s2io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h
index df8cfd0475be..946314503daa 100644
--- a/drivers/net/s2io.h
+++ b/drivers/net/s2io.h
@@ -261,8 +261,6 @@ typedef struct stat_block {
261 u32 rmac_accepted_ip_oflow; 261 u32 rmac_accepted_ip_oflow;
262 u32 reserved_14; 262 u32 reserved_14;
263 u32 link_fault_cnt; 263 u32 link_fault_cnt;
264
265/* Software statistics maintained by driver */
266 swStat_t sw_stat; 264 swStat_t sw_stat;
267} StatInfo_t; 265} StatInfo_t;
268 266
@@ -349,6 +347,7 @@ struct config_param {
349#define MAX_RX_BLOCKS_PER_RING 150 347#define MAX_RX_BLOCKS_PER_RING 150
350 348
351 rx_ring_config_t rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */ 349 rx_ring_config_t rx_cfg[MAX_RX_RINGS]; /*Per-Rx Ring config */
350 u8 bimodal; /*Flag for setting bimodal interrupts*/
352 351
353#define HEADER_ETHERNET_II_802_3_SIZE 14 352#define HEADER_ETHERNET_II_802_3_SIZE 14
354#define HEADER_802_2_SIZE 3 353#define HEADER_802_2_SIZE 3