From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: Re: Flows! Offload them. Date: Thu, 26 Feb 2015 19:05:44 +0000 Message-ID: <20150226190544.GA1631@casper.infradead.org> References: <20150226074214.GF2074@nanopsycho.orion> <20150226083758.GA15139@vergenet.net> <20150226091628.GA4059@nanopsycho.orion> <20150226161705.GH1973@nanopsycho.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jiri Pirko , Simon Horman , Linux Netdev List , David Miller , Neil Horman , Andy Gospodarek , Daniel Borkmann , Or Gerlitz , Jesse Gross , jpettit@nicira.com, Joe Stringer , John Fastabend , Jamal Hadi Salim , Scott Feldman , Florian Fainelli , Roopa Prabhu , John Linville , shrijeet@gmail.com, Andy Gospodarek , bcrl@kvack.org To: Tom Herbert Return-path: Received: from casper.infradead.org ([85.118.1.10]:58754 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754371AbbBZTFs (ORCPT ); Thu, 26 Feb 2015 14:05:48 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 02/26/15 at 10:15am, Tom Herbert wrote: > But, routing (aka switching) in the stack is not configured through > TC. We have a whole forwarding and routing infrastructure (eg. > iproute) with optimizations that allow routes to be cached in > sockets, etc. To me, it seems like offloading that basic functionality > is a prerequisite before attempting to offload more advanced policy > mechanisms of TC, netfilter, etc. It is visible that you are coming from container focused world with sockets on the host ;-) The L3 offload desire comes primiarly from a VM centric host where decap+L3 offload to a VF allows to spend zero cycles on the host kernel. I'm not sure if offload makes sense at all for container workloads w/o VM isolation per tentant or orch system or something similar.