|
@@ -887,7 +887,7 @@ static int ixgbe_set_vf_mac_addr(struct ixgbe_adapter *adapter,
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
|
|
- if (adapter->vfinfo[vf].pf_set_mac &&
|
|
|
|
|
|
+ if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted &&
|
|
!ether_addr_equal(adapter->vfinfo[vf].vf_mac_addresses, new_mac)) {
|
|
!ether_addr_equal(adapter->vfinfo[vf].vf_mac_addresses, new_mac)) {
|
|
e_warn(drv,
|
|
e_warn(drv,
|
|
"VF %d attempted to override administratively set MAC address\n"
|
|
"VF %d attempted to override administratively set MAC address\n"
|