Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a22bb0b9 authored by Francesco Ruggeri's avatar Francesco Ruggeri Committed by Jeff Kirsher
Browse files

e1000: unset IFF_UNICAST_FLT on WMware 82545EM



VMWare's e1000 implementation does not seem to support unicast filtering.
This can be observed by configuring a macvlan interface on eth0 in a VM in
VMWare Fusion 5.0.5, and trying to use that interface instead of eth0.
Tested on 3.16.

Signed-off-by: default avatarFrancesco Ruggeri <fruggeri@arista.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent d70127e8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1075,6 +1075,9 @@ static int e1000_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
				  NETIF_F_HW_CSUM |
				  NETIF_F_SG);

	/* Do not set IFF_UNICAST_FLT for VMWare's 82545EM */
	if (hw->device_id != E1000_DEV_ID_82545EM_COPPER ||
	    hw->subsystem_vendor_id != PCI_VENDOR_ID_VMWARE)
		netdev->priv_flags |= IFF_UNICAST_FLT;

	adapter->en_mng_pt = e1000_enable_mng_pass_thru(hw);