From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: Re: [patch net-next RFC 0/4] introduce infrastructure for support of switch chip datapath Date: Wed, 26 Mar 2014 17:36:52 -0400 Message-ID: <53334874.8000004@mojatatu.com> References: <532C2AC4.7080303@mojatatu.com> <20140322094852.GB2844@minipsycho.orion> <5330BAB7.3040501@mojatatu.com> <20140325173927.GE8102@hmsreliant.think-freely.org> <20140325180009.GB15723@casper.infradead.org> <20140325193533.GF8102@hmsreliant.think-freely.org> <5331ED86.7020704@mojatatu.com> <20140326111031.GB31370@hmsreliant.think-freely.org> <20140326112903.GG15723@casper.infradead.org> <20140326152215.GB12372@tuxdriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Neil Horman , Jiri Pirko , Florian Fainelli , netdev , David Miller , andy@greyhouse.net, dborkman@redhat.com, ogerlitz@mellanox.com, jesse@nicira.com, pshelar@nicira.com, azhou@nicira.com, Ben Hutchings , Stephen Hemminger , jeffrey.t.kirsher@intel.com, vyasevic , Cong Wang , John Fastabend , Eric Dumazet , Scott Feldman , Lennert Buytenhek To: "John W. Linville" , Thomas Graf Return-path: Received: from mail-ig0-f181.google.com ([209.85.213.181]:61529 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756257AbaCZVgz (ORCPT ); Wed, 26 Mar 2014 17:36:55 -0400 Received: by mail-ig0-f181.google.com with SMTP id h18so1069142igc.2 for ; Wed, 26 Mar 2014 14:36:54 -0700 (PDT) In-Reply-To: <20140326152215.GB12372@tuxdriver.com> Sender: netdev-owner@vger.kernel.org List-ID: On 03/26/14 11:22, John W. Linville wrote: > This part makes sense to me -- use the hardware forwarding offloads if > they are available, but fall back to software for sake of flexibility. > It gives the admin enough rope to shoot himself in the foot... > This should be left up to policy. Maybe a sysctl? Example: I should be able to choose whether i want to _only_ use the L3 table in hardware and not in software for certain traffic which may require lower latency. cheers, jamal