From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [patch net-next RFC 12/12] rocker: introduce rocker switch driver Date: Thu, 21 Aug 2014 10:19:38 -0700 Message-ID: References: <1408637945-10390-1-git-send-email-jiri@resnulli.us> <1408637945-10390-13-git-send-email-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: netdev , David Miller , Neil Horman , Andy Gospodarek , tgraf , dborkman , ogerlitz , jesse , pshelar , azhou , Ben Hutchings , Stephen Hemminger , Jeff Kirsher , vyasevic , Cong Wang , John Fastabend , Eric Dumazet , Jamal Hadi Salim , Scott Feldman , Roopa Prabhu , John Linville , dev , "jasowang@redhat.com" , "Eric W. Biederman" , To: Jiri Pirko Return-path: Received: from mail-ie0-f179.google.com ([209.85.223.179]:38867 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752795AbaHURUT (ORCPT ); Thu, 21 Aug 2014 13:20:19 -0400 Received: by mail-ie0-f179.google.com with SMTP id rl12so4892302iec.24 for ; Thu, 21 Aug 2014 10:20:18 -0700 (PDT) In-Reply-To: <1408637945-10390-13-git-send-email-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org List-ID: 2014-08-21 9:19 GMT-07:00 Jiri Pirko : > 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