I am running KVM on Ubuntu 20.04 & using SR-IOV for an Intel x520, does anyone know how to implement these SR-IOV virtual function options into NetPlan
ip link set enp7s0f0 vf 0 trust on
ip link set enp7s0f0 vf 0 spoofchk off
ip link set enp7s0f0 vf 0 vlan 3
My NetPlan config is below
enp7s0f0: {}
addresses: []
virtual-function-count: 63
vf1:
match:
name: enp7s0f0v[0-62]
enp7s0f1: {}
addresses: []
virtual-function-count: 63
vf2:
match:
name: enp7s0f1v[0-62]
ip link set enp7s0f0 vf 0 trust on
ip link set enp7s0f0 vf 0 spoofchk off
ip link set enp7s0f0 vf 0 vlan 3
My NetPlan config is below
enp7s0f0: {}
addresses: []
virtual-function-count: 63
vf1:
match:
name: enp7s0f0v[0-62]
enp7s0f1: {}
addresses: []
virtual-function-count: 63
vf2:
match:
name: enp7s0f1v[0-62]