NIC Link is Down/is Up cycle every 1s, i40e NICs (integrated) with DAC cables

xed

Active Member
Jun 28, 2018
28
1
43
125
I have been experiencing this since the last kernel major update:
Code:
[ 1100.030539] i40e 0000:67:00.0 eno1np0: NIC Link is Down
[ 1101.502496] i40e 0000:67:00.0 eno1np0: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: RX/TX

Running 6.8.8-4-pve.

The connections use DAC cables direct to a switch that is otherwise operating 100% fine. It is not the cables or the switch. Cables have manufacturing dates >6 years apart.

Seems like others have similar issues:
https://forum.proxmox.com/threads/error-i40e-nic-link-is-down.86698/
 
Positively no answers or insight from developers or other users?
 
I had the same problem, I was able to solve it today.

With the last kernel update the naming of the network cards was changed, now the assignment in the /etc/network/interfaces did not fit anymore.

In my case it has changed as follows.
enp24s0f0 => enp24s0f0np0
enp24s0f1 => enp24s0f1np1
enp216s0f0 => enp216s0f0np0
enp216s0f1 => enp216s0f1np1