[ovs-discuss] [PATCH 00/20] Implement abstract interfaces to network devices

Jesse Gross jesse at nicira.com
Tue Jul 28 21:32:26 UTC 2009


Ben Pfaff wrote:
> Thanks for the review.
>
>   
All of the changes look good.

>> Some of the netdevs may want to use the config file, so it would be
>> useful to have a reconfigure call in the netdev interface.
>>     
>
> My gut reaction is that that would be a mistake, at least at this
> point.  If the netdevs need configuration then I think we should
> add an interface to netdev_*() for doing that instead of letting
> them read the configuration willy-nilly.
>
> But I don't know what kind of configuration you have in mind.
> Can you give an example?
>
>
>   

I'm thinking of configuration that is specific to a certain type of 
device so it wouldn't necessarily be appropriate to add to the netdev 
interface.  For example, a Unix domain socket netdev might have a bunch 
of parameters such as socket name, permissions, etc., that only it would 
really use and understand.




More information about the discuss mailing list