diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-06-30 23:18:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 06:06:44 -0400 |
commit | dbfa600148a25903976910863c75dae185f8d187 (patch) | |
tree | 17e28fd25f61f8177d27e512a8265d501c57feda /drivers/net/ethernet/chelsio | |
parent | 9eb8738d1eb869c34017ff1c23ac9f725c4aeb30 (diff) |
cxgb3: set maximal number of default RSS queues
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Cc: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c index abb6ce7c1b7e..9b0874957df5 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | |||
@@ -3050,7 +3050,7 @@ static struct pci_error_handlers t3_err_handler = { | |||
3050 | static void set_nqsets(struct adapter *adap) | 3050 | static void set_nqsets(struct adapter *adap) |
3051 | { | 3051 | { |
3052 | int i, j = 0; | 3052 | int i, j = 0; |
3053 | int num_cpus = num_online_cpus(); | 3053 | int num_cpus = netif_get_num_default_rss_queues(); |
3054 | int hwports = adap->params.nports; | 3054 | int hwports = adap->params.nports; |
3055 | int nqsets = adap->msix_nvectors - 1; | 3055 | int nqsets = adap->msix_nvectors - 1; |
3056 | 3056 | ||