Peter Memishian wrote:
> Solution
> --------
>
> We propose to modify GLDv3 so that GLDv3 reports (on the behalf of the
> driver)
> when link state changes by logging a simple message to logs. This would
> only be done when the link _changes_, which could be either due to
> administrative action or an external event such as a cable disconnect or
> reboot or administrative action the link partner.
>
> The message will omit all details except the state as up or down, and will
> never go to the console.
>
> The message will have one of two forms:
>
> nge0 link up
> or
> nge0 link down
>
> Obviously "nge0" is for the Nvidia GigE driver. Other drivers,
> etc. will get their contents here as well. The message will appear to
> come from "mac", and will be prefixed by the normal syslog details
> (date, hostname, message ID, etc.) in the system logs.
One minor thing: I presume it will not be difficult to report the link
name (rather than the device name) post vanity-naming?
Well, if the mac layer knows the name, then sure. Right now it takes
the mip->mi_name. If the link name is somewhere in the mac handle, then
there should be no reason why it couldn't be reported instead.
-- Garrett
_______________________________________________
networking-discuss mailing list
[email protected]