DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] L3/L4 Filters configuration
@ 2013-06-09 13:29 Gal Sagie
  2013-06-10  9:18 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Gal Sagie @ 2013-06-09 13:29 UTC (permalink / raw)
  To: dev

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

Hello all,

Reading the poll mode driver section in the programmers manual i came
across this line:

"Other features such as the L3/L4 5-Tuple packet filtering feature of a
port can be
configured in the same way"

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) ?

Thanks in advance!
Gal.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] L3/L4 Filters configuration
  2013-06-09 13:29 [dpdk-dev] L3/L4 Filters configuration Gal Sagie
@ 2013-06-10  9:18 ` Thomas Monjalon
  2013-06-11  4:44   ` Gal Sagie
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-06-10  9:18 UTC (permalink / raw)
  To: Gal Sagie; +Cc: dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] L3/L4 Filters configuration
  2013-06-10  9:18 ` Thomas Monjalon
@ 2013-06-11  4:44   ` Gal Sagie
  0 siblings, 0 replies; 3+ messages in thread
From: Gal Sagie @ 2013-06-11  4:44 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-11  4:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-09 13:29 [dpdk-dev] L3/L4 Filters configuration Gal Sagie
2013-06-10  9:18 ` Thomas Monjalon
2013-06-11  4:44   ` Gal Sagie

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).