[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CO2PR11MB008805A31B3921BF3C728F7A975A0@CO2PR11MB0088.namprd11.prod.outlook.com>
Date: Sat, 4 Jun 2016 13:24:43 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: Casey Leedom <leedom@...lsio.com>,
Hariprasad S <hariprasad@...lsio.com>,
David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Nirranjan Kirubaharan <nirranjan@...lsio.com>
Subject: RE: [PATCH net-next] cxgb4: Reduce resource allocation in kdump
kernel
> When is_kdump_kernel() is true, reduce our memory footprint by only using a
> single "Queue Set" and Forcing Master so we can reinitialize the Firmware/Chip.
>
> Signed-off-by: Hariprasad Shenai <hariprasad@...lsio.com>
...
> if (q10g > netif_get_num_default_rss_queues())
> q10g = netif_get_num_default_rss_queues();
>
> + /* Reduce memory usage in kdump environment by using only one queue
> + * and disable all offload.
> + */
> + if (is_kdump_kernel()) {
> + q10g = 1;
> + adap->params.offload = 0;
> + }
> +
Sounds like a common issue that might interest other devices as well.
Perhaps we should change netif_get_num_default_rss_queues() to return 1
when called from a kdump kernel?
Powered by blists - more mailing lists