From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgios Katsikas Subject: Re: Flow Director vs. 5-tuple filters on a 10GbE Intel 82599 ES NIC Date: Fri, 7 Dec 2018 08:38:41 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: dev@dpdk.org Return-path: Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) by dpdk.org (Postfix) with ESMTP id F1B295F29 for ; Fri, 7 Dec 2018 07:38:54 +0100 (CET) Received: by mail-ua1-f48.google.com with SMTP id d2so1060305ual.2 for ; Thu, 06 Dec 2018 22:38:54 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is a kind reminder for my question above. Best regards, Georgios On Tue, Dec 4, 2018 at 12:41 PM Georgios Katsikas wrote: > Dear all, > > I am performing rule installation/deletion benchmarks on a dual port 10 > GbE Intel 82599 ES NIC using DPDK 18.11. > The benchmark installs increasing number of rules (5 to 8000), measures > the rule installation rate and latency and then deletes the rules > (measuring again the rule deletion rate/latency). > The rule sets comprise of rules with exact matches (no masks involved) as > follows: > > *Simple rule* > flow create 0 ingress pattern eth / ipv4 dst is 129.72.224.94 / end > actions queue index 0 / end > > *More complicated rule* > flow create 0 ingress pattern eth / ipv4 dst is 46.54.254.68 src is > 49.75.141.195 proto is 17 / udp dst is 26561 src is 7242 / end actions > queue index 0 / end > > No matter how simple or complicated the rules are, I am not able to > install more than 128 rules on this NIC. > > *Here comes my question* > > According to the specification > , > this NIC can accommodate up to 128 5-tuple filters, which very well agrees > with my observation above. > However, the same document states that this NIC can also accommodate up to > 8000 Flow Director filters. > What is the practical difference between a 5-tuple and a Flow Director > rule in this case? How can I exploit these 8k filters using DPDK 18.11? > > Thanks in advance, > Georgios > > > >