diff options
| author | Michal Swiatkowski <michal.swiatkowski@linux.intel.com> | 2025-10-30 11:30:53 +0300 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2026-01-09 20:23:40 +0300 |
| commit | ee13aa1a2c5a68943a730ddbde300ba11b84229c (patch) | |
| tree | 39fd225699dec3cd203b59e052932811948a681f /scripts/patch-kernel | |
| parent | 483dd5f36f891a2c3c2bc3231dd136891e75b744 (diff) | |
| download | linux-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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
