From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) by dpdk.org (Postfix) with ESMTP id B4AD81B276 for ; Tue, 4 Dec 2018 11:41:15 +0100 (CET) Received: by mail-ua1-f44.google.com with SMTP id d19so5577900uaq.11 for ; Tue, 04 Dec 2018 02:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=BlalRPrj34dWJIEls4XGVhyBa5RvUqTJU6F4qvkCABY=; b=jqPe3SJLQJWkKfkZTIP6DV9EyOxSfCNQuk6hFx/U1iAUhkwlsRFSqKQO296yOf6IMs cZKNScgTWT4Eg7ZwpVUBfLWYhnTmE4GkFxWq+i5DtHCdqajB9+sPZ92fKFvUmOoCH+dt q5JQBK4TtDO+4nLiMa1dRs7fgJkoIfKzHgB77oLPdHPv3qxZGEcnrChBs/1Rb8Db+NlN fUvGJ5xOubuuaoe7aBVklQT5GVWkj8ILPI+CqbznEocw8q7U5BVUWsh2owr37eF0ACk3 lw/CM2r7N13Mmi+aDcGhc2n47GseMajBNTOQyOm5VA4OL8dNZbpiuPpl9c8ixxuCwSXE mgcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=BlalRPrj34dWJIEls4XGVhyBa5RvUqTJU6F4qvkCABY=; b=OV5d0xts8YKg8UC4qOYXbH7YlMaFFy0RYkEosUEIQ2AZWym9BNIEYxD3pfQPoxn0Tf 9TUpoxarnNkDTlsvUqAWrRFdA5t7iOEP1v4YWQeS0zeK785aER1MsIblqDWygDEyrlsK GEygt1ikZ9L/ZELkyVwqsrO1k1pwqw2+6HpB+0+X13YD/hFRmV0gCE2FxuON9TJOsGhc nMv6E7GlOpZXnIjP2VqmOUmSqmHU9hHxq5gZ8l+Qn3xMF0fNtVtCbDu2jXCnXOpOUXXx 58qw65i12BR9KLTb33sbxwsxJw4rWk06UOAVKqh/7byq4uyLUP8Wxz+4RsGjjNK9pdVG uP7A== X-Gm-Message-State: AA+aEWYFj1KGgjdcYvDowvsCDujK+M0MHSwlKRJBo5smfIOuZsQr026b Q1G29D2sANVCQnhLFDqZDJe80KDTo7V3TRdu4hSsLEGF X-Google-Smtp-Source: AFSGD/X4P1J/rL2VoEjnu3Ll8A3zWEl4Q7ZyThIlM+Yn2qtn0gyJQ55em7SS7QXmqevShhaCfi9Hn5rjoiielThsiZg= X-Received: by 2002:ab0:5fcd:: with SMTP id g13mr9037297uaj.124.1543920074501; Tue, 04 Dec 2018 02:41:14 -0800 (PST) MIME-Version: 1.0 From: Georgios Katsikas Date: Tue, 4 Dec 2018 12:41:02 +0200 Message-ID: To: dev@dpdk.org Cc: Tom Barbette Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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, 04 Dec 2018 10:41:15 -0000 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