At 12:56 PM 22/08/2005, Colin Farley wrote:
I have made this change on the switch my virtual machines are connected to.
We use HP PorCurve switches, unfortunately the switch needs to be rebooted
for the change to take effect, I will have to do this late tonight. I will
let you know the outcome.
For the em(4) driver, I used the patch developed by [EMAIL PROTECTED] below.
%%%
Index: if_em.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/em/if_em.c,v
retrieving revision 1.62
diff -u -p -r1.62 if_em.c
--- if_em.c 5 Mar 2005 18:30:10 -0000 1.62
+++ if_em.c 31 Mar 2005 07:41:47 -0000
@@ -832,12 +832,14 @@ em_init_locked(struct adapter * adapter)
bcopy(adapter->interface_data.ac_enaddr, adapter->hw.mac_addr,
ETHER_ADDR_LEN);
+#if 0
/* Initialize the hardware */
if (em_hardware_init(adapter)) {
printf("em%d: Unable to initialize the hardware\n",
adapter->unit);
return;
}
+#endif
if (ifp->if_capenable & IFCAP_VLAN_HWTAGGING)
em_enable_vlans(adapter);
%%%
With the patch, the interface does not reset every time you add or
remove an alias.
He asked a while ago the Intel guy why they were doing this extra
reset but never got a response.
---Mike
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"