I suggest we provide two types of private properties: one is visible,
another is hidden.
One example of visible private properties is _adv_2500fdx_cap and
_adv_2500fdx_en of bnxe driver. They are private only because they are
not common (yet?), I think.
And an example of hidden private properties is the _drain_max property
of bge driver. It is a tunable just for developers and PAE to tune the
driver, because we don't think 64 is the ultimate perfect value.
- Zeeshan
Andrew Gallatin wrote:
I was looking at transitioning my driver from ndd to dladm,
and I was wondering if there is a way to get a list, from
the command line, of all private properties that a driver supports.
Eg, the bge driver supports some private properties like "_drain_max":
# dladm show-linkprop bge0 -p _drain_max
LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
bge0 _drain_max rw 64 64 --
Trying the ndd trick (?) doesn't seem to work:
#dladm show-linkprop bge0 -p \?
LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
dladm: warning: cannot get link property '?' for bge0: object not found
bge0 ?
So.. are private properties really private now?
Drew
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]