Seb,

I am sorry for not looking at this earlier.
I found 2 things but it's ok to not fix them if you already RTI'ed.

http://cr.opensolaris.org/~seb/dladm-privs.3/

1. not using DDI_DEFINE_STREAM_OPS in aggr/vnic

I don't see the reason for this. aggr/vnic are still streams drivers 
(use mac_init_ops()) just like other gldv3 drivers. they make use of the 
dld control node but they themselves are not control nodes. if a 
physical nic driver can use this macro I don't see why aggr/vnic cannot.


2. removal of the rvalp arg from the ioctl signature.

the rvalp is useful if you want the ioctl to return something other than 
0 or -1. e.g. if you want to have your own error space other than use 
the unix error space, you can return the error code this way. without 
this, you'd have to embed a diagnostic value in each of your ioctl 
command structures, which would still work but is not an ideal solution.

this feature is not being used now but it'd be better to not have to 
change the framework (and all control nodes) when we do use it later.


thanks
eric

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to