3339 vmware e1000 emulation does not support multiple mac addresses
authorGarrett D'Amore <garrett@damore.org>
Sat, 03 Nov 2012 14:41:42 -0700
changeset 13877 696183757f27
parent 13876 54f26394c8b0
child 13878 dd10606460cc
3339 vmware e1000 emulation does not support multiple mac addresses Reviewed by: Sebastien Roy <[email protected]> Reviewed by: Hans Rosenfeld <[email protected]> Approved by: Richard Lowe <[email protected]>
usr/src/uts/common/io/e1000g/e1000g_main.c
--- a/usr/src/uts/common/io/e1000g/e1000g_main.c	Sat Nov 03 15:04:33 2012 -0700
+++ b/usr/src/uts/common/io/e1000g/e1000g_main.c	Sat Nov 03 14:41:42 2012 -0700
@@ -24,6 +24,7 @@
 
 /*
  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
  */
 
 /*
@@ -2444,6 +2445,10 @@
 		    (e1000_get_laa_state_82571(hw) == B_TRUE))
 			Adapter->unicst_total--;
 
+		/* VMware doesn't support multiple mac addresses properly */
+		if (hw->subsystem_vendor_id == 0x15ad)
+			Adapter->unicst_total = 1;
+
 		Adapter->unicst_avail = Adapter->unicst_total;
 
 		for (slot = 0; slot < Adapter->unicst_total; slot++) {