> http://cr.opensolaris.org/~artem/bru-prophandle/
> 
> Two sets of changes against brussels-gate:
> 
> - Minor header cleanup: dld.h does not use any definitions from mac.h 
> and dls.h, and removing these includes makes things a bit cleaner.
> 
> - Introduction of per-macname property lists and property handles for 
> drivers to access those lists. The main purpose of this exercise is to 
> get us one step closer to ARC commitment on 10/17: generalize driver 
> interfaces so they don't depend much on underlying implementation (such 
> as dladmd daemon).

I've updated the webrev, merged with latest brussels-gate and

- addressed Sowmini's comments:
   - locking in mac_prop_update()
   - mac_setprop() updates cache only when mc_setprop callback succeeds
   - ipw includes <net/if.h> directly
- added mdb mac module with two walkers and ::mac_prop dcmd

 > ::help mac_prop

NAME
   mac_prop - display MAC properties of a link or all links

SYNOPSIS
   ::mac_prop [link]


ATTRIBUTES

   Target: kvm
   Module: mac
   Interface Stability: Unstable

 > ::mac_prop
             ADDR LINK             PROPERTY         SIZE VALUE
fffffffec7d80480 bge0             default_mtu      8    1500
fffffffec7d80a80 bge0             adv_autoneg_cap  1    1
 >

-Artem

Reply via email to