DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gal Sagie <gal.sagie@gmail.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] L3/L4 Filters configuration
Date: Tue, 11 Jun 2013 07:44:13 +0300	[thread overview]
Message-ID: <CAG9LJa4t5vb+kQXox-cpsp3GNmomm=jiN6FE8WcVrF_VmXzkrQ@mail.gmail.com> (raw)
In-Reply-To: <201306101118.10282.thomas.monjalon@6wind.com>

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

Hello Thomas, thank you for the answer ,I have some follow up questions, I
am trying to understand the filtering mechanism better:

1) the FDIR allows me to direct specific filter to a specific RX queue,
what is happening to all the other traffic, is it dropped (or sent to the
drop queue defined in the fdir struct)?
    for example what happens to it if i also define another queue and RSS
enabled.

2) I defined two queues and two signature filters, lets assume i send a
packet that can be matched by both, is the packet duplicated or
   only the first registered filter match it?

What i would like to achieve is the following scenario =>

Have two filters and 3 queues, each filter associates with a unique queue
and all traffic that is filtered going to that queue (this queue receive
only this traffic) and the third queue for all the non matched traffic
Can this be done and how?

Thanks for your  help!

On Mon, Jun 10, 2013 at 12:18 PM, Thomas Monjalon <thomas.monjalon@6wind.com
> wrote:

> Hello,
>
> 09/06/2013 15:29, Gal Sagie :
> > Is there any chance to see an example of how to configure L3/L4 filters
> per
> > port in the NIC ?
> > also is there any way to control the queue number which a certain RSS
> > hashing result map to (would love to see an example of that as well) ?
>
> You should have a look to the fdir functions into testpmd's directory:
>         grep -r fdir app/test-pmd
>
> --
> Thomas
>



-- 
Best Regards ,

The G.

[-- Attachment #2: Type: text/html, Size: 1940 bytes --]

      reply	other threads:[~2013-06-11  4:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 13:29 Gal Sagie
2013-06-10  9:18 ` Thomas Monjalon
2013-06-11  4:44   ` Gal Sagie [this message]

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='CAG9LJa4t5vb+kQXox-cpsp3GNmomm=jiN6FE8WcVrF_VmXzkrQ@mail.gmail.com' \
    --to=gal.sagie@gmail.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.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).