[RHEL 7.5] [Intel XV710] SRIOV VF MAC address Change Failure [Spoofchk off,Trusted on]

From: mad Engineer <hidden>
Date: 2019-03-09 07:11:15
Also in: kvm

Hi All,

I have a RHEL 7.5 + KVM server with Intel XV710 NIC and i40e drivers
with SRIOV enabled and few Centos 7.5 VMs on it.

When i try to change the  MAC address of VF from VM i get 'Operation
not Permitted Error'.

ip l set dev ens5 address 0a:01:5E:00:01:0E

RTNETLINK answers: Operation not permitted

From PF:

vf 26 MAC 02:0d:6d:f4:ae:ac, vlan 27, spoof checking off, link-state
auto, trust on

Driver Version

VM

ethtool -i ens5
driver: i40evf
version: 3.0.1-k

Host

driver: i40e
version: 1.6.27-k
firmware-version: 6.00 0x80003546 18.3.6

nothing in host logs,

Any idea what could be wrong with VF driver.My VM will be running VRRP
and it will be changing MAC to VRRP MAC,this is not working today and
trying all approaches to make it work.Any help is appreciated.

Regards,
Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help