> 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?

Yes, this is by design: we don't want users poking around looking for
random low-level screws to turn.  In general, users should learn about
private properties for a given driver by reading that driver's
documentation, at which point hopefully they will understand a bit more
about what they are actually fiddling with.

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to