> After thinking about this more, I decided to change the original proposal, 
 > and do the following:
 > 
 > When opening a network device:
 > 
 > a. If there is any per-link autopush configuration, push modules based on 
 > that, and ignore per-driver autopush configuration; otherwise
 > 
 > b. Found the *active" per-driver autopush configuration based on this device 
 > node's "real" physical dev_t. I say "real" here because in the case of 
 > non-GLDv3 driver, the dev_t is the softmac node's dev_t. In that case, we 
 > need to automatically push modules based on the dev_t of the real device 
 > (the softmac's underlying device).
 > 
 > c. When softmac opens the underlying driver, it pops all the autopushed 
 > modules in between. Because those modules will be pushed over the softmac 
 > device in step b.
 > 
 > d. Get rid of the whole "dladm migrate-autopush" support.
 > 
 > By doing the above, we will safely apply all the old autopush(1M) 
 > configuration, including those not defined in /etc/iu.ap. But note that 
 > those per-driver autopush configuration will not be migrated to the per-link 
 > autopush configuration. (it won't be shown by show-linkprop -p autopush).

Just for the record: the above sounds fine to me.

--
meem

Reply via email to