From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by dpdk.org (Postfix) with ESMTP id C6B311BB20 for ; Tue, 18 Dec 2018 11:11:20 +0100 (CET) Received: by mail-wm1-f49.google.com with SMTP id a62so2023005wmh.4 for ; Tue, 18 Dec 2018 02:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XF5GvZSf1/lS2Xr6ztdgQtITVF9aKzpTL+4H+Wfvl7c=; b=Fbg05ng5dF2QNLyoTyaGqfSO3cJtg0mCLE2EYPXGQ14/TRTGvYlJxHHs0DzAF8eWMU uqeMGHlHIFTV/9AB/t40Yr2oDXruLwxhRhZ8Af2blRHvfqKHSqvX0Nu/6Y//q6zSB2yu DF5YHhxTF9ayyhu6LuzJYWC5zPFwYd8JnBL/TYlog8CQU3EN+NffvzfGKw2OH1ruksau ZPxaB6u4Gck+0o5QtbB7G2EnoyOIhfYDe4Vse5Ner6aqvAp7ufL+sSnYvgP4jNI4jvTx 1755CNJBfa5e+X3bQbwn4EAV6+k6dGc5BjTdNocIBXsNvmlGl4KAQKCPx08M27NN9ZO6 +ZjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XF5GvZSf1/lS2Xr6ztdgQtITVF9aKzpTL+4H+Wfvl7c=; b=FDRsSCLJtyAEZ08Jz2Y9d4bq7ka3nu7lBgyGLFinnoICNAOL8jC/c74RJACC+86R6n OcU69Ka8VyKSkwXbgRoYoBSZJs5TBsQpP8DWRKUb4y+j0yRynudGOchM/jFZwhy0Hyls U2BEq/gu0BDD1gjg0hlFPAlEJg+1t1Kv26Ik/2cyr9jUeBbEEY2hWWNGGdbDjO/dSucj VqZd4p4Xk9ARxQxi095qxVChqkwG5MqSc+PJN/O8g9W1etccOGjaM6nsYEZ4i3DXGKtO rbfovIiYxQAdd/fxWNLmphlDfvZG1ZwTQFBlkFD7bXFaQK8fcfQ5QNVjc8F1jwpai3Hr Eqgw== X-Gm-Message-State: AA+aEWbC0dTA/aI7GK9zSNSHT+9fW9aKP8H+tLqqTGV8uF6l9mIcqvUz aDaBWmMYG4Hp0tOa4tHUQZwfhBuMS0lehjWB6bk= X-Google-Smtp-Source: AFSGD/VC4OjJVh3eOaUr+Jzn4OwBqK3KQEXG3O0OalhT8ZQOKnReictjxYsKy2Pwykk3qP5o1xhI+2j5IMd4KkKzd+M= X-Received: by 2002:a1c:a104:: with SMTP id k4mr2528206wme.54.1545127880162; Tue, 18 Dec 2018 02:11:20 -0800 (PST) MIME-Version: 1.0 References: <1544538698808.34010@kth.se> In-Reply-To: <1544538698808.34010@kth.se> From: Georgios Katsikas Date: Tue, 18 Dec 2018 12:11:08 +0200 Message-ID: To: Tom Barbette Cc: "dev@dpdk.org" , "wenzhuo.lu@intel.com" , "konstantin.ananyev@intel.com" , "adrien.mazarguil@6wind.com" Content-Type: text/plain; charset="UTF-8" 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, 18 Dec 2018 10:11:20 -0000 This is a kind reminder to provide some feedback on this topic. Best regards, Georgios On Tue, Dec 11, 2018 at 4:31 PM Tom Barbette wrote: > =E2=80=8BCC-ing maintainers. > > > ------------------------------ > *De :* Georgios Katsikas > *Envoy=C3=A9 :* mardi 4 d=C3=A9cembre 2018 11:41 > *=C3=80 :* 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 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 agree= s > with my observation above. > However, the same document states that this NIC can also accommodate up t= o > 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 > > > >