From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: Re: [patch net-next v2 8/9] switchdev: introduce Netlink API Date: Wed, 24 Sep 2014 14:32:46 +0100 Message-ID: <20140924133246.GB4966@casper.infradead.org> References: <541CAA3C.5080105@intel.com> <20140920081426.GE1821@nanopsycho.orion> <20140920105354.GA29419@casper.infradead.org> <20140922081341.GA20905@casper.infradead.org> <20140923041130.GA10808@gospo.home.greyhouse.net> <542192A3.2020309@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andy Gospodarek , Tom Herbert , Alexei Starovoitov , Jiri Pirko , John Fastabend , Jamal Hadi Salim , "netdev@vger.kernel.org" , "David S. Miller" , Neil Horman , Andy Gospodarek , Daniel Borkmann , Jesse Gross , Pravin Shelar , Andy Zhou , Ben Hutchings , Stephen Hemminger , Jeff Kirsher , Vladislav Yasevich , Cong Wang , Eric Dumazet , Scott Feldman , Florian Fainelli Return-path: Received: from casper.infradead.org ([85.118.1.10]:40943 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751521AbaIXNcw (ORCPT ); Wed, 24 Sep 2014 09:32:52 -0400 Content-Disposition: inline In-Reply-To: <542192A3.2020309@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On 09/23/14 at 06:32pm, Or Gerlitz wrote: > Indeed. >=20 > The idea is to leverage OVS to manage eSwitch (embedded NIC switch) a= s well > (NOT to offload OVS). >=20 > We envision a seamless integration of user environment which is based= on OVS > with SRIOV eSwitch and the grounds for that were very well supported = in > Jiri=E2=80=99s V1. Please consider comparing your model with what is described here [0]. I'm trying to write down an architecture document that we can finalize in D=C3=BCsseldorf. [0] http://goo.gl/qkzW5y > The eSwitch hardware does not need to have multiple tables and =E2=80= =98enjoys=E2=80=99 the > flat rule of OVS. The kernel datapath does not need to be aware of th= e > existence of HW nor its capabilities, it just pushes the flow also to= the > switchdev which represents the eSwitch. I think you are saying that the kernel should not be required to make the offload decision which is fair. We definitely don't want to force the decision to be outside though, there are several legit reasons to support transparent offloads within the kernel as well outside of OVS. > Yep. LPC is the time and place to go over the multiple use-cases (phy= iscal > switch, eSwitch, eBPF, etc) that could (should) be supported by the b= asic > framework. =46or reference: http://www.linuxplumbersconf.org/2014/ocw/proposals/2463