aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEliezer Tamir <eliezert@broadcom.com>2008-02-28 14:53:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-28 14:53:13 -0500
commit49d66772112f40554ba18d037e0601ac3da0bf79 (patch)
treee10b03f7e3ca5bf24fe05ba60dff5de342175cb4 /drivers/net/bnx2x.h
parentf14106478e372e64be54a3cdab1e2fa83a5c8a35 (diff)
[BNX2X]: Correct RX filtering and MC configuration
The configuration of RX filtering needed the following corrections: Drop flags need to be set per Rx queue. Have to tell the microcode to collect drop stats, and properly wait for them to complete when going down. Sometimes we failed to detect proper completion due to a logical error in the wait loop. Signed-off-by: Eliezer Tamir <eliezert@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index dc423e58dad8..d0e5ab1af444 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -1,6 +1,6 @@
1/* bnx2x.h: Broadcom Everest network driver. 1/* bnx2x.h: Broadcom Everest network driver.
2 * 2 *
3 * Copyright (c) 2007 Broadcom Corporation 3 * Copyright (c) 2007-2008 Broadcom Corporation
4 * 4 *
5 * This program is free software; you can redistribute it and/or modify 5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by 6 * it under the terms of the GNU General Public License as published by
@@ -431,8 +431,6 @@ struct bnx2x_fastpath {
431#define BNX2X_FP_STATE_OPEN 0xa0000 431#define BNX2X_FP_STATE_OPEN 0xa0000
432#define BNX2X_FP_STATE_HALTING 0xb0000 432#define BNX2X_FP_STATE_HALTING 0xb0000
433#define BNX2X_FP_STATE_HALTED 0xc0000 433#define BNX2X_FP_STATE_HALTED 0xc0000
434#define BNX2X_FP_STATE_DELETED 0xd0000
435#define BNX2X_FP_STATE_CLOSE_IRQ 0xe0000
436 434
437 int index; 435 int index;
438 436
@@ -513,7 +511,6 @@ struct bnx2x {
513 struct eth_spe *spq; 511 struct eth_spe *spq;
514 dma_addr_t spq_mapping; 512 dma_addr_t spq_mapping;
515 u16 spq_prod_idx; 513 u16 spq_prod_idx;
516 u16 dsb_sp_prod_idx;
517 struct eth_spe *spq_prod_bd; 514 struct eth_spe *spq_prod_bd;
518 struct eth_spe *spq_last_bd; 515 struct eth_spe *spq_last_bd;
519 u16 *dsb_sp_prod; 516 u16 *dsb_sp_prod;