OpenSolaris

Printable Version Enter a New Search
Bug ID 6512220
Synopsis avoid duplication in kstat output
State 11-Closed:Verified (Closed)
Category:Subcategory driver:net-other
Keywords brussels | solx86-nic-otherteam-bge
Responsible Engineer Raymond Li
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71)
Related Bugs 6570824 , 6621285
Submit Date 11-January-2007
Last Update Date 4-September-2007
Description
when I do "kstat bge" I see that there is a lot of duplication of
information between "parameters" and "mii"; Looking at the code, it
seems like the ndd information is printed twice, which is needless
(and confusing). 

e.g., "kstat bge" duplicates adv_autoneg_cap information twice: once as
adv_cap_autoneg under "name: mii" and the second time as
adv_autoneg_cap in "name: parameters".

randy.fishel points out:
>   The "problem" here, is that many drivers (both inside and outside of
> Sun) have implemented ndd facilities such that they are also displayed
> as kstats.  They then implement kstats that display the same
> information as many ndd values, but under a different name and/or
> statistic.

Since Nemo already exports a "standard" set for the drivers, these duplicate
definitions should be examined and removed where possible (i.e., where no
contracts or other promises about the Stablility are held).
Work Around
N/A
Comments
N/A