diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-03-26 16:39:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-27 00:46:56 -0700 |
commit | 3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8 (patch) | |
tree | 006025c8420ac7603a7074ee7bc48ddcd6898c10 /drivers/net/cxgb3/cxgb3_main.c | |
parent | 6d1ec7812d6350409ecfe7f6dded3a6c801b89d3 (diff) | |
download | kernel_samsung_tuna-3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8.zip kernel_samsung_tuna-3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8.tar.gz kernel_samsung_tuna-3156378993b0fc0f9f12f5f297f0a9b4c4fe0fc8.tar.bz2 |
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 d8be896..8ad5f32 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; } |