OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: paoba on December 13, 2024, 12:01:52 AM

Title: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 13, 2024, 12:01:52 AM
Hi there

I was very happy to see an updated Intel ICE driver on release 24.7.10. The driver has been updated to version 1.43.2-k et al

Now I still have issues using RSS on my Intel E823-L. My reverse proxy is crashing on certain conditions and the general speed is not what I would expect with RSS enabled. If I disable RSS the reverse proxy is running fine. I can reproduce this problem.

I saw in the release notes of FreeBSD 14.2 (https://www.freebsd.org/releases/14.2R/relnotes/), that they also updated the ICE Driver to the same version 1.43.2-k. But they also updated the ice_ddp Package to Version 1.3.41.0. At the moment the ice_ddp Package on Opnsense 24.7.10 is 1.3.36.0. Is there a chance that you guys Update the ice_ddp Package to the same version as in Freebsd 14.2, since the driver also has been updated?

Since the ice_ddp Package is specifically needed to support RSS on Intel E800 series NIC's, I was hoping to have my troubles fixed with this ddp package matching the new driver from Freebsd 14.2

QuoteDevices based on the Intel(R) Ethernet 800 Series require a Dynamic Device
Personalization (DDP) package file to enable advanced features (such as dynamic
tunneling, Intel(R) Ethernet Flow Director, RSS, and ADQ).

cheers
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on December 13, 2024, 11:06:13 AM
Hi,

> 23.7.10

Did you really mean "23" or "24"? I don't see any pending changes on 24.7.10. It should be equivalent to 14.2.


Cheers,
Franco
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 13, 2024, 12:19:52 PM
Hi Franco

sorry there was a typo... I was referring to 24.7.10

OPNsense 24.7.10 released (https://forum.opnsense.org/index.php?topic=44413.0)

this is from the FreeBSD 14.2 release notes (https://www.freebsd.org/releases/14.2R/relnotes/):

Quoteice has been upgraded to 1.43.2-k. 38a1655adcb3 (Sponsored by Intel Corporation)

ice_ddp has been upgraded to 1.3.41.0. a9d78bb714e3 (Sponsored by Intel Corporation)


cheers
Patrick
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on December 13, 2024, 01:09:17 PM
Thanks, I missed https://github.com/opnsense/src/commit/a9d78bb714e3 earlier since it doesn't change any driver files (sys/dev/ice).

Possibly shipping in 24.7.12. early next year.

If you want I can build a test kernel.


Cheers,
Franco
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 13, 2024, 02:22:50 PM
Sweet :) For me it doesn't matter. I can wait until early next year. But if you would like me to test I'm happy to do my part ;-)

cheers
Patrick
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on December 13, 2024, 02:59:19 PM
I pulled it into the tree. https://github.com/opnsense/src/commit/0532e757b

It will be fixed in 25.1 too one way or another :)


Cheers,
Franco
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 13, 2024, 03:32:46 PM
perfect. thanks alot! :)
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on December 13, 2024, 03:34:11 PM
To be frank: thanks for the report. I missed this and will adapt my scripts to catch this in the future.


Cheers,
Franco
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 19, 2024, 07:39:44 PM
Hey Franco

sorry to bother you again. I was inpatient and just installed the beta 25.1.b because you told me Version 25.1 will include the new package anyway. For now it's not the case, it's still showing:

ice0: The DDP package was successfully loaded: ICE OS Default Package version 1.3.36.0, track id 0xc0000001.

Will it come with a later Beta? I know the beta is not containing everything as the production release. But the release notes of the Beta stated it's based on FreeBSD 14.2, so it also should have the new DDP package.

thanks for the clarification!
cheers
Patrick
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: newsense on December 19, 2024, 08:07:52 PM
Probably coming in 25.1-RC1, and depending on how ugly things get we'll see if 24.7.12 will need a new kernel or not.

Since you're already on 25.1 you could try backing up /boot/kernel/ice_ddp.ko and replace it with one from a FBSD 14.2, and if that's all that is required you're all set going forward and the next RC kernel should already have the proper version for you.
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 19, 2024, 08:46:24 PM
this did not work. I get following:

ice0: The DDP package module (ice_ddp) failed to load or could not be found. Entering Safe Mode.
ice0: The DDP package module cannot be automatically loaded while booting. You may want to specify ice_ddp_load="YES" in your loader.conf

ice_ddp_load="YES" is correctly specified. I also tried to replace the if_ice.ko file and getting the same error.
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 19, 2024, 09:20:42 PM
i reverted and got the same error. I think it was a permission problem. let me try again later. I'll let you know the results.
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: paoba on December 19, 2024, 10:40:22 PM
tried it again. permissions look correctly. still getting the same error. Is it really just copy the file? nothing else to do?

ice0: The DDP package module (ice_ddp) failed to load or could not be found. Entering Safe Mode.
ice0: The DDP package module cannot be automatically loaded while booting. You may want to specify ice_ddp_load="YES" in your loader.conf
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on December 19, 2024, 11:02:02 PM
The commit is in there and should work as good as on FreeBSD 14.2-RELEASE. If "good" means actually working I don't know. It will also ship in 24.7.12 in January, but I don't see a reason why it would work then (or not even work for that matter).

Confused.  ;)


Cheers,
Franco
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: bugacha on February 05, 2025, 09:57:57 AM
Does 25.1 now fully support ice_ddp driver ?
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: franco on February 05, 2025, 10:03:04 AM
The code is the same on 24.7.x and 25.1 is what I can vouch for.
Title: Re: Intel ice_ddp Package 1.3.41.0
Post by: bugacha on February 15, 2025, 08:25:23 PM
So I'm on 25.1 and I get same error for ice_ddp.ko in dmesg

# dmesg | grep ice_ddp
ice0: The DDP package module (ice_ddp) failed to load or could not be found. Entering Safe Mode.
ice0: The DDP package module cannot be automatically loaded while booting. You may want to specify ice_ddp_load="YES" in your loader.conf
ice1: The DDP package module (ice_ddp) failed to load or could not be found. Entering Safe Mode.
ice1: The DDP package module cannot be automatically loaded while booting. You may want to specify ice_ddp_load="YES" in your loader.conf

EDIT: Actually never mind, I added both of these :
ice_ddp_load = YES and if_ice_load = YES in Tunnables

and by the looks of it, everything works now :

ice0: <Intel(R) Ethernet Network Adapter E810-XXV-2 - 1.43.2-k> mem 0x380000000000-0x380001ffffff,0x380002000000-0x38000200ffff irq 16 at device 0.0 on pci1
ice0: Loading the iflib ice driver
ice0: DDP package already present on device: ICE OS Default Package version 1.3.41.0, track id 0xc0000001.
ice0: fw 7.3.4 api 1.7 nvm 4.30 etid 8001b891 netlist 4.2.5000-1.14.0.2b9b23c0 oem 1.3415.0
ice0: Using 8 Tx and Rx queues
ice0: Reserving 8 MSI-X interrupts for iRDMA
ice0: Using MSI-X interrupts with 17 vectors
ice0: Using 1024 TX descriptors and 1024 RX descriptors
ice0: Ethernet address: 50:7c:6f:79:ca:e8
ice0: ice_add_rss_cfg on VSI 0 could not configure every requested hash type
ice0: PCI Express Bus: Speed 16.0GT/s Width x8
ice0: Firmware LLDP agent disabled
ice0: Link is up, 10 Gbps Full Duplex, Requested FEC: None, Negotiated FEC: None, Autoneg: False, Flow Control: None
ice0: link state changed to UP
ice0: netmap queues/slots: TX 8/1024, RX 8/1024