Pim,

Thank you very much, your intuition was right and indeed solved the problem.

I get some weird output in dmesg, which I suspect is related to not up to
date versions of individual components, but I can confirm it pings!
[    2.148347] ice 0000:05:00.0: QinQ functionality cannot be enabled on
this device. Update your DDP package to a version that supports QinQ.
[    2.150195] ice 0000:05:00.0: The driver could not load the DDP package
file because a compatible DDP package is already present on the device.
The device has package 'ICE OS Default Package' version 1.3.4.0. The
package file found by the driver: 'ICE OS Default Package' version 1.3.28.0.

Following the steps for those who may have the same problem in future.
- Download the Non-Volatile Memory (NVM) Update Utility from the Intel
website according to the version suggested here
https://doc.dpdk.org/guides/nics/ice.html
- Update NVM if necessary
- Download the Network Adapter Driver from the Intel website
- make install it

Greetings,
Samuele

Il giorno mer 13 apr 2022 alle ore 16:02 Pim van Pelt <p...@ipng.nl> ha
scritto:

> Hoi,
>
> I am not familiar with the message, but in the past I've had DPDK refuse
> to start if the wrong DDP was loaded:
> [    0.431937] kernel: pci 0000:0c:00.0: [8086:1592] type 00 class 0x020000
> [    0.431959] kernel: pci 0000:0c:00.0: reg 0x10: [mem
> 0xea000000-0xebffffff 64bit pref]
> [    0.431981] kernel: pci 0000:0c:00.0: reg 0x1c: [mem
> 0xee010000-0xee01ffff 64bit pref]
> [    0.431999] kernel: pci 0000:0c:00.0: reg 0x30: [mem
> 0xfce00000-0xfcefffff pref]
> [    0.432141] kernel: pci 0000:0c:00.0: reg 0x184: [mem
> 0xed000000-0xed01ffff 64bit pref]
> [    0.432142] kernel: pci 0000:0c:00.0: VF(n) BAR0 space: [mem
> 0xed000000-0xedffffff 64bit pref] (contains BAR0 for 128 VFs)
> [    0.432164] kernel: pci 0000:0c:00.0: reg 0x190: [mem
> 0xee220000-0xee223fff 64bit pref]
> [    0.432166] kernel: pci 0000:0c:00.0: VF(n) BAR3 space: [mem
> 0xee220000-0xee41ffff 64bit pref] (contains BAR3 for 128 VFs)
>
> *[   11.136114] kernel: ice 0000:0c:00.0: The DDP package was successfully
> loaded: ICE COMMS Package version 1.3.30.0*[   11.316100] kernel: ice
> 0000:0c:00.0: PTP init successful
> [   11.479331] kernel: ice 0000:0c:00.0: DCB is enabled in the hardware,
> max number of TCs supported on this port are 8
> [   11.479333] kernel: ice 0000:0c:00.0: FW LLDP is disabled, DCBx/LLDP in
> SW mode.
> [   11.479334] kernel: ice 0000:0c:00.0: Commit DCB Configuration to the
> hardware
> [   11.482280] kernel: ice 0000:0c:00.0: 252.048 Gb/s available PCIe
> bandwidth (16.0 GT/s PCIe x16 link)
>
> (emphasis mine). For me, on Ubuntu 20.04:
> pim@hippo:/lib$ ls -la /lib/firmware/updates/intel/ice/ddp
> total 1308
> drwxr-xr-x 2 root root   4096 Jan 13 12:27 .
> drwxr-xr-x 3 root root   4096 Sep 30  2021 ..
> -rw-r--r-- 1 root root 635256 Sep 30  2021 ice-1.3.26.0.pkg
>
> *lrwxrwxrwx 1 root root     22 Jan 13 12:11 ice-b49691ffffb3b110.pkg ->
> ice_comms-1.3.30.0.pkg*-rwxr-xr-x 1 root root 684408 Jan 13 12:09
> ice_comms-1.3.30.0.pkg
> lrwxrwxrwx 1 root root     22 Jan 13 12:27 ice.pkg ->
> ice_comms-1.3.30.0.pkg
> -rw-r--r-- 1 root root   2089 Sep 30  2021 LICENSE
>
> (emphasis mine) sees to it that the comms DDP is loaded into the NIC
> before starting VPP. Maybe that helps you ?
>
> groet,
> Pim
>
> On Wed, Apr 13, 2022 at 3:14 PM <pillerisamu...@gmail.com> wrote:
>
>> Hello,
>>
>> This is my first message, hope I'm in the right place.
>> I'm having troubles with an Intel E810-CAM2 card and VPP/DPDK: after
>> assigning an IP address to the VPP interface and enabling it, I can't ping
>> it. It looks like all packets get dropped (rx missed) and in show
>> interfaces I can see the following error:
>>
>> rx bytes ok                                         1776
>> rx missed                                             18  Errors:
>> rte_eth_dev_start[port:0, errno:-5]: Unknown error -5
>>
>> VPP version is 21.06, DPDK 21.08, NIC Non-Volatile Memory 3.00
>>
>> Attached the output of runtime and hardware-interfaces, I hope they will
>> be useful.
>>
>> Thank you,
>> Samuele
>> 
>>
>>
>
> --
> Pim van Pelt <p...@ipng.nl>
> PBVP1-RIPE - http://www.ipng.nl/
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21253): https://lists.fd.io/g/vpp-dev/message/21253
Mute This Topic: https://lists.fd.io/mt/90440122/21656
Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to