changeset 13877:696183757f27

3339 vmware e1000 emulation does not support multiple mac addresses Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
author Garrett D'Amore <garrett@damore.org>
date Sat, 03 Nov 2012 14:41:42 -0700
parents 54f26394c8b0
children dd10606460cc
files usr/src/uts/common/io/e1000g/e1000g_main.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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++) {