DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tom Barbette <barbette@kth.se>
To: Georgios Katsikas <katsikas.gp@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "wenzhuo.lu@intel.com" <wenzhuo.lu@intel.com>,
	"konstantin.ananyev@intel.com" <konstantin.ananyev@intel.com>,
	"adrien.mazarguil@6wind.com" <adrien.mazarguil@6wind.com>
Subject: Re: [dpdk-dev] Flow Director vs. 5-tuple filters on a 10GbE Intel 82599 ES NIC
Date: Tue, 11 Dec 2018 14:31:39 +0000	[thread overview]
Message-ID: <1544538698808.34010@kth.se> (raw)
In-Reply-To: <CAN9HtFC16mFr2xjY0bSjxFBpH_Fw9ygXWY38ob8AiSKSV00tEQ@mail.gmail.com>

?CC-ing maintainers.


________________________________
De : Georgios Katsikas <katsikas.gp@gmail.com>
Envoyé : mardi 4 décembre 2018 11:41
À : 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<https://www.intel.com/content/www/us/en/embedded/products/networking/82599-10-gbe-controller-datasheet.html>, 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

  parent reply	other threads:[~2018-12-11 14:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 10:41 Georgios Katsikas
2018-12-07  6:38 ` Georgios Katsikas
2018-12-11 14:31 ` Tom Barbette [this message]
2018-12-18 10:11   ` Georgios Katsikas
2019-01-16  8:55   ` Tom Barbette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1544538698808.34010@kth.se \
    --to=barbette@kth.se \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=katsikas.gp@gmail.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=wenzhuo.lu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).