summaryrefslogtreecommitdiff
path: root/scripts/livepatch
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2025-10-30 11:30:53 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-01-09 20:23:40 +0300
commitee13aa1a2c5a68943a730ddbde300ba11b84229c (patch)
tree39fd225699dec3cd203b59e052932811948a681f /scripts/livepatch
parent483dd5f36f891a2c3c2bc3231dd136891e75b744 (diff)
downloadlinux-ee13aa1a2c5a68943a730ddbde300ba11b84229c.tar.xz
ice: use netif_get_num_default_rss_queues()
On some high-core systems (like AMD EPYC Bergamo, Intel Clearwater Forest) loading ice driver with default values can lead to queue/irq exhaustion. It will result in no additional resources for SR-IOV. In most cases there is no performance reason for more than half num_cpus(). Limit the default value to it using generic netif_get_num_default_rss_queues(). Still, using ethtool the number of queues can be changed up to num_online_cpus(). It can be done by calling: $ethtool -L ethX combined $(nproc) This change affects only the default queue amount. Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions