Intel E810-C-Q2 adapter with 13.1-RELEASE

From: Alexander Shikov <minotaur_at_crete.org.ua>
Date: Tue, 21 Feb 2023 15:54:04 UTC
Hello!

I have a box with Intel(R) Ethernet Network Adapter E810-C-Q2 running 13.1-RELEASE.
As far as I understand it should support this NIC, but it doesn't work:

ice0: flags=8822<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP>
        ether b4:96:91:ad:8d:a0
ifconfig: ice0: no media types?
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


Lines from dmesg:
ice0: <Intel(R) Ethernet Network Adapter E810-C-Q2 - 1.34.2-k> mem 0x92000000-0x93ffffff,0x96010000-0x9601ffff irq 32 at device 0.0 numa-domain 0 on pci3
ice0: Loading the iflib ice driver
ice0: Get PHY capabilities failed status = -100, continuing anyway
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
ice0: fw 5.1.5 api 1.7 nvm 2.15 etid 800049c3 netlist 2.1.2000-3.13.0.550223bf oem 1.2789.0
ice0: Using 1 Tx and Rx queues
ice0: Using MSI-X interrupts with 2 vectors
ice0: Using 1024 TX descriptors and 1024 RX descriptors
ice0: Ethernet address: b4:96:91:ad:8d:a0
ice0: PCI Express Bus: Speed 8.0GT/s Width x16
ice0: ice_init_saved_phy_cfg: ice_aq_get_phy_caps (w/MEDIA) failed; status ICE_ERR_AQ_ERROR, aq_err AQ_RC_EINVAL
ice0: Firmware LLDP agent disabled
ice0: ice_init_link_configuration: ice_aq_set_link_restart_an: status ICE_ERR_AQ_ERROR, aq_err AQ_RC_EINVAL
ice0: link state changed to DOWN
ice0: ice_add_media_types: ice_aq_get_phy_caps (ACTIVE) failed; status ICE_ERR_AQ_ERROR, aq_err AQ_RC_EINVAL
ice0: Error adding device media types: ICE_ERR_AQ_ERROR aq_err AQ_RC_EINVAL
ice0: netmap queues/slots: TX 1/1024, RX 1/1024

I have ice_ddp_load="YES" in loader.conf.

Any help is appreciated! Thank you.