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: Tue, 23 Sep 2014 08:19:22 +0100 Message-ID: <20140923071922.GA6944@casper.infradead.org> References: <20140920081426.GE1821@nanopsycho.orion> <20140920105354.GA29419@casper.infradead.org> <20140922081341.GA20905@casper.infradead.org> <20140922221727.GA4708@casper.infradead.org> <20140922225305.GB4708@casper.infradead.org> <5420CEAC.2070104@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Tom Herbert , Alexei Starovoitov , Jiri Pirko , John Fastabend , Jamal Hadi Salim , "netdev@vger.kernel.org" , "David S. Miller" , Neil Horman , Andy Gospodarek , Daniel Borkmann , Or Gerlitz , Jesse Gross , Pravin Shelar , Andy Zhou , Ben Hutchings , Stephen Hemminger , Jeff Kirsher , Vladislav Yasevich , Cong Wang , Eric Dumazet , Scott Feldman , Florian Fainelli , Roop To: John Fastabend Return-path: Received: from casper.infradead.org ([85.118.1.10]:58965 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752245AbaIWHTc (ORCPT ); Tue, 23 Sep 2014 03:19:32 -0400 Content-Disposition: inline In-Reply-To: <5420CEAC.2070104@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On 09/22/14 at 06:36pm, John Fastabend wrote: > n-tuple has some deficiencies, > > - its not possible to get the capabilities to learn what > fields are supported by the device, what actions, etc. > > - its ioctl based so we have to poll the device > > - only supports a single table, where we have devices with > multiple tables > > - sort of the same as above but it doesn't allow creating new > tables or destroying old tables. OK, I understand where Tom was going. Given we add feature detection capabilities this could be used to identify the guest for fixed length encap. I still assume HW won't be able to match on the inner header for any variable lengh encap with metadata packet unless it can actually parse the encap. I hope I didn't bring encap format to this thread at this very moment ;-)