aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/brocade/bna/bna_types.h
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2011-08-30 15:27:44 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-15 15:36:33 -0400
commit761fab374e5b8efa6f7a8650ff546905578a482d (patch)
treedfa3e9a97a5e5345a17145dd7dace2383629d608 /drivers/net/ethernet/brocade/bna/bna_types.h
parentbna: Ethtool Enhancements and Fix (diff)
downloadlinux-dev-761fab374e5b8efa6f7a8650ff546905578a482d.tar.xz
linux-dev-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 '')
-rw-r--r--drivers/net/ethernet/brocade/bna/bna_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bna_types.h b/drivers/net/ethernet/brocade/bna/bna_types.h
index 59417b1f56a9..242d7997ffb2 100644
--- a/drivers/net/ethernet/brocade/bna/bna_types.h
+++ b/drivers/net/ethernet/brocade/bna/bna_types.h
@@ -323,6 +323,7 @@ struct bna_qpt {
};
struct bna_attr {
+ bool fw_query_complete;
int num_txq;
int num_rxp;
int num_ucmac;