Skip to content

Commit fa09bc4

Browse files
github-cygwindavem330
authored andcommitted
igb: disable virtualization features on 82580
Disable virtualization features on 82580 just as on i210/i211. This avoids that virt functions are acidentally called on 82850. Fixes: 55cac24 ("igb: Add full support for 82580 devices") Signed-off-by: Corinna Vinschen <vinschen@redhat.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ae074e2 commit fa09bc4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/net/ethernet/intel/igb/igb_main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3933,8 +3933,9 @@ static void igb_probe_vfs(struct igb_adapter *adapter)
39333933
struct pci_dev *pdev = adapter->pdev;
39343934
struct e1000_hw *hw = &adapter->hw;
39353935

3936-
/* Virtualization features not supported on i210 family. */
3937-
if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211))
3936+
/* Virtualization features not supported on i210 and 82580 family. */
3937+
if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211) ||
3938+
(hw->mac.type == e1000_82580))
39383939
return;
39393940

39403941
/* Of the below we really only want the effect of getting

0 commit comments

Comments
 (0)