Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pikachu937

#1
Hello,

I'm encountering an issue on OPNsense 25.1.7_4 (FreeBSD 14.2-RELEASE-p3) with an Intel E810-XXV network adapter. The following error appears in logs for both ice0 and ice1 interfaces:

ice0: ice_add_rss_cfg on VSI 0 could not configure every requested hash type
ice1: ice_add_rss_cfg on VSI 0 could not configure every requested hash type

Configuration:
OPNsense: 25.1.7_4 (FreeBSD 14.2-RELEASE-p3)
Network adapter: Intel E810-XXV
Driver: ICE 1.43.2-k (dev.ice.0.iflib.driver_version: 1.43.2-k)
Firmware: NVM 4.80 (dev.ice.0.fw_version: fw 7.8.2 api 1.7 nvm 4.80 etid 8002053c netlist 4.4.5000-1.16.0.fb344039 oem 1.3805.0)
DDP: ICE OS Default Package 1.3.41.0 (dev.ice.0.ddp_version: ICE OS Default Package version 1.3.41.0, track id 0xc0000001)
Settings: 32 Rx/Tx queues (dev.ice.0.iflib.override_nrxqs=32, dev.ice.0.iflib.override_ntxqs=32), IPv6 disabled on interfaces.

Traffic: 99% is UDP (RTP/RTCP).

Issue: The RSS error prevents even distribution of network queues across CPU cores, reducing performance. The issue affects both ice0 and ice1 interfaces. Since 99% of traffic is UDP (RTP/RTCP), filtering UDP is not an option.

Steps Taken:
Attempted to load DDP 1.3.53.0 by placing ice.pkg in /lib/firmware/intel/ice/ddp/ and adding hw.ice.ddp_override="1" to /boot/loader.conf.local. However, DDP 1.3.53.0 does not load; the system uses 1.3.41.0 (log: ice1: DDP package already present on device).
Tried updating NVM firmware using Intel NVM Update Utility, but the version remains 4.80.
Disabled IPv6 on interfaces via ifconfig ice0 inet6 -accept_rtadv and OPNsense web interface.
Tested reducing queues to 16 (override_nrxqs=16, override_ntxqs=16), but the error persists.
Attempted filtering UDP/SCTP via firewall rules, with no effect, as UDP (RTP/RTCP) constitutes 99% of traffic.
Compiling a new driver is not possible due to missing kernel source in OPNsense.

dmesg | grep DDP
ice0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.41.0, track id 0xc0000001.
ice1: DDP package already present on device: ICE OS Default Package version 1.3.41.0, track id 0xc0000001.

dmesg | grep ice | grep rss
ice0: ice_add_rss_cfg on VSI 0 could not configure every requested hash type
ice1: ice_add_rss_cfg on VSI 0 could not configure every requested hash type

Questions:
How can I resolve the RSS error, given that 99% of traffic is UDP (RTP/RTCP)? Is it related to the driver or DDP 1.3.41.0?
Why does DDP 1.3.53.0 fail to load despite hw.ice.ddp_override="1"?
Is there a way to configure RSS hash functions for UDP without sysctl dev.ice.0.rss_hash_config?

Could upgrading OPNsense resolve the issue?

Any suggestions or insights would be greatly appreciated! I can provide additional logs if needed.
#2
Столкнулся с проблемой на OPNsense 25.1.7_4 (FreeBSD 14.2-RELEASE-p3) с сетевым адаптером Intel E810-XXV. При загрузке интерфейсов ice0 и ice1 в логах появляется ошибка:
ice0: ice_add_rss_cfg on VSI 0 could not configure every requested hash type
ice1: ice_add_rss_cfg on VSI 0 could not configure every requested hash type

Конфигурация:
OPNsense: 25.1.7_4 (FreeBSD 14.2-RELEASE-p3)
Сетевой адаптер: Intel E810-XXV
Драйвер: ICE 1.43.2-k (dev.ice.0.iflib.driver_version: 1.43.2-k)
Прошивка: NVM 4.80 (dev.ice.0.fw_version: fw 7.8.2 api 1.7 nvm 4.80 etid 8002053c netlist 4.4.5000-1.16.0.fb344039 oem 1.3805.0)
DDP: ICE OS Default Package 1.3.41.0 (dev.ice.0.ddp_version: ICE OS Default Package version 1.3.41.0, track id 0xc0000001)
Настройки: 32 Rx/Tx очереди (dev.ice.0.iflib.override_nrxqs=32, dev.ice.0.iflib.override_ntxqs=32), IPv6 отключён на интерфейсах.
Трафик: 99% составляет UDP (RTP/RTCP).

Проблема: Ошибка RSS препятствует равномерному распределению сетевых очередей по ядрам CPU, что снижает производительность. Проблема возникает на обоих интерфейсах (ice0, ice1). Учитывая, что 99% трафика — это UDP (RTP/RTCP), фильтрация UDP не является решением.

Предпринятые шаги:
Пытался загрузить DDP 1.3.53.0, разместив ice.pkg в /lib/firmware/intel/ice/ddp/ и добавив hw.ice.ddp_override="1" в /boot/loader.conf.local. Однако DDP 1.3.53.0 не загружается, система использует 1.3.41.0 (лог: ice1: DDP package already present on device).
Обновлял прошивку NVM через Intel NVM Update Utility, но версия осталась 4.80.
Отключил IPv6 на интерфейсах через ifconfig ice0 inet6 -accept_rtadv и веб-интерфейс OPNsense.
Пробовал уменьшить очереди до 16 (override_nrxqs=16, override_ntxqs=16), но ошибка сохраняется.
Проверял фильтрацию UDP/SCTP через правила фаервола — без эффекта, так как UDP (RTP/RTCP) составляет 99% трафика.
Компиляция нового драйвера невозможна из-за отсутствия исходников ядра в OPNsense.

dmesg | grep DDP
ice0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.41.0, track id 0xc0000001.
ice1: DDP package already present on device: ICE OS Default Package version 1.3.41.0, track id 0xc0000001.

dmesg | grep ice | grep rss
ice0: ice_add_rss_cfg on VSI 0 could not configure every requested hash type
ice1: ice_add_rss_cfg on VSI 0 could not configure every requested hash type

Вопросы:

Как устранить ошибку RSS, учитывая, что 99% трафика — UDP (RTP/RTCP)? Возможно, проблема в драйвере или DDP 1.3.41.0?
Почему DDP 1.3.53.0 не загружается несмотря на hw.ice.ddp_override="1"?
Есть ли способ настроить хэш-функции RSS для UDP без sysctl dev.ice.0.rss_hash_config?
Может ли обновление OPNsense исправить проблему?
Буду благодарен за любые идеи или рекомендации! Если нужны дополнительные логи, готов предоставить.