Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4873 Discussions

Problem to set VLAN on VF with X710-DA2


DEVICE : genuine INTEL X710-DA2

Hi, every time i try to set VLAN on VF and start my VM, i got this error message and VM is not reachable  :


Sep 4 17:14:44 pve kernel: [ 1478.872691] i40e 0000:2d:00.1: Setting VLAN 2, QOS 0x0 on VF 2
Sep 4 17:14:58 pve kernel: [ 1492.786384] vfio-pci 0000:2e:0a.2: enabling device (0000 -> 0002)
Sep 4 17:15:05 pve kernel: [ 1500.105372] i40e 0000:2d:00.1: Cannot enable vlan stripping when port VLAN is set


VF port configuration :


ip link set enp45s0f1 vf 2 trust on
ip link set enp45s0f1 vf 2 state enable
ip link set enp45s0f1 vf 2 vlan 2


PF Information :


root@pve:/etc/systemd/system# ethtool -i enp45s0f1
driver: i40e
version: 2.20.12
firmware-version: 9.00 0x8000c8bd 1.3179.0
bus-info: 0000:2d:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes


I tried as drivers README said, but no success :


ethtool -K enp45s0f1 rxvlan off



Do have any idea to set VLAN on VF without VLAN STRIPPING error ?


Thank you and have a good day.

0 Kudos
0 Replies