Re: [PATCH net-next] net: Reduce queue allocation to one in kdump kernel

2016-06-09 Thread Cong Wang
On Wed, Jun 8, 2016 at 5:39 AM, Hariprasad Shenai wrote: > 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 > --- > net/core/dev

Re: [PATCH net-next] net: Reduce queue allocation to one in kdump kernel

2016-06-08 Thread David Miller
From: Hariprasad Shenai Date: Wed, 8 Jun 2016 18:09:08 +0530 > 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 Applied, than

[PATCH net-next] net: Reduce queue allocation to one in kdump kernel

2016-06-08 Thread Hariprasad Shenai
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 --- net/core/dev.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git