http://defect.opensolaris.org/bz/show_bug.cgi?id=14244



--- Comment #6 from amaguire <alan.maguire at sun.com> 2010-01-30 14:30:41 UTC 
---
One thing I should add - I can't help but wonder if we should modify how we
deal with wired links. When we reinitialize a wired link as a result of NCU
selection, we call nwamd_delete_link() followed by nwamd_add_link() to force
link state events to update. Instead of doing that each time, we could perhaps
instead just call nwamd_add_link() once and if we get link state events for a
given link, we cache the link state regardless of whether the NCU is selected.
If it is selected, the event will drive a state change. If it isn't, we still
have the correct state. I can't help but wonder if the delete/add approach may
exacerbate problems with drivers that have flapping issues.

This approach would separate wired link state - which is a result of whether
the cable is plugged in or not - from NCU state - which depends if it is
selected etc. Wireless is different - a wireless link is only connected if it
has been selected.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to