[ovs-dev] [patch net-next RFC 03/12] net: introduce generic switch devices support

Jiri Pirko jiri at resnulli.us
Thu Aug 21 17:03:01 UTC 2014

Thu, Aug 21, 2014 at 06:41:23PM CEST, ben at decadent.org.uk wrote:
>On Thu, 2014-08-21 at 18:18 +0200, Jiri Pirko wrote:
>> The goal of this is to provide a possibility to suport various switch
>> chips. Drivers should implement relevant ndos to do so. Now there is a
>> couple of ndos defines:
>> - for getting physical switch id is in place.
>> - for work with flows.
>> Note that user can use random port netdevice to access the switch.
>Why isn't the switch treated as a real device (not necessarily a net
>device) that's included in the device model and that the port devices
>refer to?

That is certainly possible. But so far, there is no need for it. But I
guess that it's probably a good idea at least to put it into sysfs

Noted, thanks Ben.

>Ben Hutchings
>If at first you don't succeed, you're doing about average.

More information about the dev mailing list