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: Mon, 22 Sep 2014 23:53:05 +0100 Message-ID: <20140922225305.GB4708@casper.infradead.org> References: <20140919154946.GH1980@nanopsycho.orion> <541C6E6D.9000109@mojatatu.com> <541CAA3C.5080105@intel.com> <20140920081426.GE1821@nanopsycho.orion> <20140920105354.GA29419@casper.infradead.org> <20140922081341.GA20905@casper.infradead.org> <20140922221727.GA4708@casper.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: 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 , Roopa Prabhu To: Tom Herbert Return-path: Received: from casper.infradead.org ([85.118.1.10]:56938 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754575AbaIVWxK (ORCPT ); Mon, 22 Sep 2014 18:53:10 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 09/22/14 at 03:40pm, Tom Herbert wrote: > On Mon, Sep 22, 2014 at 3:17 PM, Thomas Graf wrote: > > What makes stateful offload interesting to me is that the final > > desintation of a packet is known at RX and can be redirected to a > > queue or VF. This allows to build packet batches on shared pages > > while preserving the securiy model. > > > How is this different from what rx-filtering already does? Without stateful offload I can't know where the packet is destined to until after I've allocated an skb and parsed the packet in software. I might be missing what you refer to here specifically.