diff options
author | Rasesh Mody <rmody@brocade.com> | 2011-08-30 17:27:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-15 21:36:33 +0200 |
commit | 761fab374e5b8efa6f7a8650ff546905578a482d (patch) | |
tree | dfa3e9a97a5e5345a17145dd7dace2383629d608 /drivers/net/ethernet/brocade/bna/bna_hw_defs.h | |
parent | bna: Ethtool Enhancements and Fix (diff) | |
download | linux-761fab374e5b8efa6f7a8650ff546905578a482d.tar.xz linux-761fab374e5b8efa6f7a8650ff546905578a482d.zip |
bna: Async Mode Tx Rx Init Fix
Change details:
- Async mode of Tx/Rx queue initialization in BNAD from a task queue context
runs into non-unique taskq allocation issues. Get rid of Tx/Rx
initialization from task q context
- In the attach function, wait for IOC enable, then do Tx/Rx queue
initialization. Default BNA attributes are used when IOC enable from attach
fails and values are set to:
1 TxQ, 1 RxQ, 1 Unicast MAC, 1 RIT entry
Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bna_hw_defs.h')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bna_hw_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bna_hw_defs.h b/drivers/net/ethernet/brocade/bna/bna_hw_defs.h index 7ecdca559c35..dde8a463b8d9 100644 --- a/drivers/net/ethernet/brocade/bna/bna_hw_defs.h +++ b/drivers/net/ethernet/brocade/bna/bna_hw_defs.h @@ -30,6 +30,10 @@ * SW imposed limits * */ +#define BFI_ENET_DEF_TXQ 1 +#define BFI_ENET_DEF_RXP 1 +#define BFI_ENET_DEF_UCAM 1 +#define BFI_ENET_DEF_RITSZ 1 #define BFI_ENET_MAX_MCAM 256 |