> 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 <haripra...@chelsio.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?