From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH RFC net-next 1/4] ipv4: fib_rules: support match on sport, dport and ip proto Date: Mon, 12 Feb 2018 16:05:10 -0500 (EST) Message-ID: <20180212.160510.620630476824737121.davem@davemloft.net> References: <1518387989-33735-1-git-send-email-roopa@cumulusnetworks.com> <1518387989-33735-2-git-send-email-roopa@cumulusnetworks.com> <1518468573.3715.163.camel@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: roopa@cumulusnetworks.com, netdev@vger.kernel.org, dsa@cumulusnetworks.com, nikolay@cumulusnetworks.com To: eric.dumazet@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:58232 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754084AbeBLVFO (ORCPT ); Mon, 12 Feb 2018 16:05:14 -0500 In-Reply-To: <1518468573.3715.163.camel@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Eric Dumazet Date: Mon, 12 Feb 2018 12:49:33 -0800 > Any setup with about 20 rules to be evaluated (per packet cost) will > feel the pain... > > I wonder if we could JIT/eBPF this thing. That's true for the software implementation angle. But I bet anyone actually using this thing will get it hardware offloaded.