net: Reduce queue allocation to one in kdump kernel
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 8 Jun 2016 12:39:08 +0000 (18:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jun 2016 18:13:58 +0000 (11:13 -0700)
commit40e4e713ebb279eb569584836d7cc6b799ed7f7f
treec771486aef77ee0c1127b9083bdde96d04ac0cd8
parentdf0437e147b3e562410d9705af4f0620654b07bb
net: Reduce queue allocation to one in kdump kernel

When in kdump kernel, reduce memory usage by only using a single Queue
Set for multiqueue devices. So make netif_get_num_default_rss_queues()
return one, when in kdump kernel.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c