diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-07-01 03:18:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 03:06:44 -0700 |
commit | 9eb8738d1eb869c34017ff1c23ac9f725c4aeb30 (patch) | |
tree | 3b56419a3bb87a8d178fb9937a8d9186ba77592b /drivers/net/ethernet/qlogic/qlge | |
parent | 9cbb5760235272564f4bb0dd7f256fb7c510a2d5 (diff) | |
download | talos-obmc-linux-9eb8738d1eb869c34017ff1c23ac9f725c4aeb30.tar.gz talos-obmc-linux-9eb8738d1eb869c34017ff1c23ac9f725c4aeb30.zip |
qlge: set maximal number of default RSS queues
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Cc: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Cc: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlge')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlge/qlge_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c index 09d8d33171df..3c3499d928b9 100644 --- a/drivers/net/ethernet/qlogic/qlge/qlge_main.c +++ b/drivers/net/ethernet/qlogic/qlge/qlge_main.c @@ -4649,7 +4649,7 @@ static int __devinit qlge_probe(struct pci_dev *pdev, int err = 0; ndev = alloc_etherdev_mq(sizeof(struct ql_adapter), - min(MAX_CPUS, (int)num_online_cpus())); + min(MAX_CPUS, netif_get_num_default_rss_queues())); if (!ndev) return -ENOMEM; |