|
@@ -5560,8 +5560,9 @@ static void ixgbe_spoof_check(struct ixgbe_adapter *adapter)
|
|
{
|
|
{
|
|
u32 ssvpc;
|
|
u32 ssvpc;
|
|
|
|
|
|
- /* Do not perform spoof check for 82598 */
|
|
|
|
- if (adapter->hw.mac.type == ixgbe_mac_82598EB)
|
|
|
|
|
|
+ /* Do not perform spoof check for 82598 or if not in IOV mode */
|
|
|
|
+ if (adapter->hw.mac.type == ixgbe_mac_82598EB ||
|
|
|
|
+ adapter->num_vfs == 0)
|
|
return;
|
|
return;
|
|
|
|
|
|
ssvpc = IXGBE_READ_REG(&adapter->hw, IXGBE_SSVPC);
|
|
ssvpc = IXGBE_READ_REG(&adapter->hw, IXGBE_SSVPC);
|