[ovs-dev] [patch net-next RFC 12/12] rocker: introduce rocker switch driver

Florian Fainelli f.fainelli at gmail.com
Thu Aug 21 17:19:38 UTC 2014


2014-08-21 9:19 GMT-07:00 Jiri Pirko <jiri at resnulli.us>:
> This patch introduces the first driver to benefit from the switchdev
> infrastructure and to implement newly introduced switch ndos. This is a
> driver for emulated switch chip implemented in qemu:
> https://github.com/sfeldma/qemu-rocker/
>
> This patch is a result of joint work with Scott Feldman.

You could eliminate a lot of boilerplate code that delegates
ethtool/netdev operations from the network interface to the switch
driver if you made this a DSA driver, without registering a tag
protocol or by reworking that.

Other than that, this is a really nice piece of driver you got here,
it's definitively a clean design. Thanks!
--
Florian



More information about the dev mailing list