diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-03-26 17:39:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-27 08:46:56 +0100 |
commit | 3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8 (patch) | |
tree | 006025c8420ac7603a7074ee7bc48ddcd6898c10 /drivers/net/cxgb3/cxgb3_main.c | |
parent | netdev: convert eth16i to net_device_ops (diff) | |
download | linux-3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8.tar.xz linux-3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8.zip |
cxgb3: start qset timers when setup succeeded
Start queue set reclaim timers after the queue sets have been
allocated successfully.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_main.c')
-rwxr-xr-x[-rw-r--r--] | drivers/net/cxgb3/cxgb3_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index d8be89621bf7..8ad5f3299baf 100644..100755 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c @@ -602,7 +602,6 @@ static int setup_sge_qsets(struct adapter *adap) &adap->params.sge.qset[qset_idx], ntxq, dev, netdev_get_tx_queue(dev, j)); if (err) { - t3_stop_sge_timers(adap); t3_free_sge_resources(adap); return err; } @@ -1046,6 +1045,8 @@ static int cxgb_up(struct adapter *adap) setup_rss(adap); if (!(adap->flags & NAPI_INIT)) init_napi(adap); + + t3_start_sge_timers(adap); adap->flags |= FULL_INIT_DONE; } |