From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by dpdk.org (Postfix) with ESMTP id 724F4568A for ; Tue, 11 Dec 2018 15:31:46 +0100 (CET) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id 01B5732BE; Tue, 11 Dec 2018 15:31:46 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tQ50V_Ut3cGx; Tue, 11 Dec 2018 15:31:40 +0100 (CET) Received: from exdb01.ug.kth.se (unknown [192.168.32.111]) by smtp-3.sys.kth.se (Postfix) with ESMTPS id B890C2B1E; Tue, 11 Dec 2018 15:31:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1544538700; bh=i9vekfK8/uKxS5x0QVkqF3kS7gKxqs4qcutB4pJMazM=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=nV4f9VHUoGQ9jmOOh/k0mg8qvDRIvqLcCL3Mn5qy7FbiO/GLMJ4lL66Md5p4b0Ynb cBk4Iltv3p3PZaBliIWqc08BkC8q6nQEb9VO3Usv1skE8+ncj8RoPx2HP4JGwZAWVx O7jbVc7V2edvCUKlZ1tQCYHizfXmnwvqCF45Buv0= Received: from exdb06.ug.kth.se (192.168.32.116) by exdb01.ug.kth.se (192.168.32.111) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 11 Dec 2018 15:31:39 +0100 Received: from exdb05.ug.kth.se (192.168.32.115) by exdb06.ug.kth.se (192.168.32.116) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 11 Dec 2018 15:31:38 +0100 Received: from exdb05.ug.kth.se ([192.168.32.115]) by exdb05.ug.kth.se ([192.168.32.115]) with mapi id 15.00.1367.000; Tue, 11 Dec 2018 15:31:39 +0100 From: Tom Barbette To: Georgios Katsikas , "dev@dpdk.org" CC: "wenzhuo.lu@intel.com" , "konstantin.ananyev@intel.com" , "adrien.mazarguil@6wind.com" Thread-Topic: Flow Director vs. 5-tuple filters on a 10GbE Intel 82599 ES NIC Thread-Index: AQHUi73jdqVtHRJ7uEuyDoISOBKT3KV5pGOG Date: Tue, 11 Dec 2018 14:31:39 +0000 Message-ID: <1544538698808.34010@kth.se> References: In-Reply-To: Accept-Language: fr-FR, sv-SE, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [130.237.20.142] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Flow Director vs. 5-tuple filters on a 10GbE Intel 82599 ES NIC X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2018 14:31:46 -0000 ?CC-ing maintainers. ________________________________ De : Georgios Katsikas Envoy=E9 : mardi 4 d=E9cembre 2018 11:41 =C0 : dev@dpdk.org Cc : Tom Barbette Objet : Flow Director vs. 5-tuple filters on a 10GbE Intel 82599 ES NIC 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 a= gain the rule deletion rate/latency). The rule sets comprise of rules with exact matches (no masks involved) as f= ollows: 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.1= 41.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 o= bservation 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