DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
       [not found] ` <697F8B1B48670548A5BAB03E8283550F368232DD@PGSMSX108.gar.corp.intel.com>
@ 2015-11-18  6:47   ` 최익성
  0 siblings, 0 replies; 4+ messages in thread
From: 최익성 @ 2015-11-18  6:47 UTC (permalink / raw)
  To: ChoiSy Jong, dev

 Dear Choi, Sy Jong.
 
Thank you very much for your advice and answer.
 
I will read and check it.
 
Sincerely Yours,
 
Ick-Sung Choi.
 
-----Original Message-----
From: "Choi, Sy Jong"&lt;sy.jong.choi@intel.com&gt; 
To: "최익성"&lt;pnk003@naver.com&gt;; "dev@dpdk.org"&lt;dev@dpdk.org&gt;; 
Cc: 
Sent: 2015-11-18 (수) 15:43:11
Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
 
Hi Mr. Choi,



Please refer to testpmd, we demonstrate filtering to a selected queue.

There are plenty of functions that allow you to select a queue:-



Exp:-

Add or delete a L2 Ethertype filter, which identify packets by their L2 Ethertype mainly assign

them to a receive queue.

ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr) (mac_address) ethertype

(ether_type) (drop|fwd) queue (queue_id)

The available information parameters are:

• port_id: the port which the Ethertype filter assigned on.

• mac_addr: compare destination mac address.

• mac_ignr: ignore destination mac address match.

• mac_address: destination mac address to match.

• ether_type: the EtherType value want to match, for example 0x0806 for ARP packet.

0x0800 (IPv4) and 0x86DD (IPv6) are invalid.

• queue_id : The receive queue associated with this EtherType filter. It is meaningless

when deleting or dropping.



There are 2tuple,5tuple,syn, flex filters and flow director



Regards,

Choi, Sy Jong

Platform Application Engineer



-----Original Message-----

From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ???

Sent: Wednesday, November 18, 2015 2:28 PM

To: dev@dpdk.org

Subject: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).



Dear DPDK experts.

 

I really appreciate for your precious answers and advices and thank you for your great contributions.

 

I have questions about rte_eth_dev multiple rx queue usage (~/dpdk/lib/librte_ether).

 

Please let me know, if I am wrong or I have something missed.

 

The applications use rte_eth_dev_configure( port,  n_rx_queues, n_tx_queues, &amp;port_conf) to setup multiple rx queues for a port.

 

How can we select rx queues for the packets from a port?  Is there any rx queue selection function?

 

Is it determined by NIC and is the rx queue information delivered to DPDK?

 

I will appreciate to you if I can be given any answer, advice, and comments.

 

Thank you very much.

 

Sincerely Yours,

 

Ick-Sung Choi.




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

* Re: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
       [not found] ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A94BEFA@SHSMSX104.ccr.corp.intel.com>
@ 2015-11-18  6:52   ` 최익성
  2015-11-18  7:37     ` Zhang, Helin
  0 siblings, 1 reply; 4+ messages in thread
From: 최익성 @ 2015-11-18  6:52 UTC (permalink / raw)
  To: ZhangHelin, dev

 Dear Zhang, Helin.
 
Thank you very much for your advice and answer.
 
I guess RSS queue selection is performed in NIC.
 
Would you tell me more about redirection table?  Where can I find reference for it?
 
Thank you very much.
 
Sincerely Yours,
 
Ick-Sung Choi.
 
-----Original Message-----
From: "Zhang, Helin"&lt;helin.zhang@intel.com&gt; 
To: "최익성"&lt;pnk003@naver.com&gt;; "dev@dpdk.org"&lt;dev@dpdk.org&gt;; 
Cc: 
Sent: 2015-11-18 (수) 15:49:30
Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
 
You can refer to 'RSS' and 'redirection table' first.



/Helin



&gt; -----Original Message-----

&gt; From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ???

&gt; Sent: Wednesday, November 18, 2015 2:28 PM

&gt; To: dev@dpdk.org

&gt; Subject: [dpdk-dev] Questions about rte_eth_dev multiple rx queue

&gt; selection (~/dpdk/lib/librte_ether).

&gt; 

&gt; Dear DPDK experts.

&gt; 

&gt; I really appreciate for your precious answers and advices and thank you for

&gt; your great contributions.

&gt; 

&gt; I have questions about rte_eth_dev multiple rx queue usage

&gt; (~/dpdk/lib/librte_ether).

&gt; 

&gt; Please let me know, if I am wrong or I have something missed.

&gt; 

&gt; The applications use rte_eth_dev_configure( port,  n_rx_queues,

&gt; n_tx_queues, &amp;port_conf) to setup multiple rx queues for a port.

&gt; 

&gt; How can we select rx queues for the packets from a port?  Is there any rx

&gt; queue selection function?

&gt; 

&gt; Is it determined by NIC and is the rx queue information delivered to DPDK?

&gt; 

&gt; I will appreciate to you if I can be given any answer, advice, and comments.

&gt; 

&gt; Thank you very much.

&gt; 

&gt; Sincerely Yours,

&gt; 

&gt; Ick-Sung Choi.




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

* Re: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
  2015-11-18  6:52   ` 최익성
@ 2015-11-18  7:37     ` Zhang, Helin
  2015-11-18  7:40       ` 최익성
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Helin @ 2015-11-18  7:37 UTC (permalink / raw)
  To: 최익성, dev

RSS and redirection table is popular features in almost all NICs, so you can refer to NIC datasheet or google.
It is easy to find out good articles.

Regards,
Helin

From: 최익성 [mailto:pnk003@naver.com]
Sent: Wednesday, November 18, 2015 2:53 PM
To: Zhang, Helin; dev@dpdk.org
Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).


Dear Zhang, Helin.



Thank you very much for your advice and answer.



I guess RSS queue selection is performed in NIC.



Would you tell me more about redirection table?  Where can I find reference for it?



Thank you very much.



Sincerely Yours,



Ick-Sung Choi.



-----Original Message-----
From: "Zhang, Helin"<helin.zhang@intel.com>
To: "최익성"<pnk003@naver.com>; "dev@dpdk.org"<dev@dpdk.org>;
Cc:
Sent: 2015-11-18 (수) 15:49:30
Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).

You can refer to 'RSS' and 'redirection table' first.

/Helin

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org]<mailto:[mailto:dev-bounces@dpdk.org]> On Behalf Of ???
> Sent: Wednesday, November 18, 2015 2:28 PM
> To: dev@dpdk.org<mailto:dev@dpdk.org>
> Subject: [dpdk-dev] Questions about rte_eth_dev multiple rx queue
> selection (~/dpdk/lib/librte_ether).
>
> Dear DPDK experts.
>
> I really appreciate for your precious answers and advices and thank you for
> your great contributions.
>
> I have questions about rte_eth_dev multiple rx queue usage
> (~/dpdk/lib/librte_ether).
>
> Please let me know, if I am wrong or I have something missed.
>
> The applications use rte_eth_dev_configure( port, n_rx_queues,
> n_tx_queues, &port_conf) to setup multiple rx queues for a port.
>
> How can we select rx queues for the packets from a port? Is there any rx
> queue selection function?
>
> Is it determined by NIC and is the rx queue information delivered to DPDK?
>
> I will appreciate to you if I can be given any answer, advice, and comments.
>
> Thank you very much.
>
> Sincerely Yours,
>
> Ick-Sung Choi.
[http://mail.naver.com/readReceipt/notify/?img=b9YqKAIOWNgZK6UlpxmsFo%2BoFzKqa6trM6UrMoC4FzM9FoK%2FFqCSFqigMX%2B0Mour74lR74lcWNFlbX30WLloWrdQarC0Wz057NGcM6lNtz05%2Bzkn74FTWt%3D%3D.gif]



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

* Re: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
  2015-11-18  7:37     ` Zhang, Helin
@ 2015-11-18  7:40       ` 최익성
  0 siblings, 0 replies; 4+ messages in thread
From: 최익성 @ 2015-11-18  7:40 UTC (permalink / raw)
  To: ZhangHelin, dev

 Dear Zhang, Helin. 
 
Thank you very much for your advice and answer.
 
I will find it. 
 
Thank you very much.
 
Sincerely Yours,
 
Ick-Sung Choi.
 
-----Original Message-----
From: "Zhang, Helin"&lt;helin.zhang@intel.com&gt; 
To: "최익성"&lt;pnk003@naver.com&gt;; "dev@dpdk.org"&lt;dev@dpdk.org&gt;; 
Cc: 
Sent: 2015-11-18 (수) 16:37:14
Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).
 








RSS and redirection table is popular features in almost all NICs, so you can refer to NIC datasheet or google.

It is easy to find out good articles.

 

Regards,

Helin


 



From:
최익성 [mailto:pnk003@naver.com]


Sent: Wednesday, November 18, 2015 2:53 PM

To: Zhang, Helin; dev@dpdk.org

Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).



 


Dear Zhang, Helin.

 

Thank you very much for your advice and answer.

 

I guess RSS queue selection is performed in NIC.

 

Would you tell me more about redirection table?  Where can I find reference for it?

 

Thank you very much.

 

Sincerely Yours,

 

Ick-Sung Choi.

 

-----Original Message-----

From: "Zhang, Helin"&lt;helin.zhang@intel.com&gt; 

To: "최익성"&lt;pnk003@naver.com&gt;; "dev@dpdk.org"&lt;dev@dpdk.org&gt;;


Cc: 

Sent: 2015-11-18 (수) 15:49:30

Subject: RE: [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether).

 

You can refer to 'RSS' and 'redirection table' first.




/Helin 



&gt; -----Original Message----- 

&gt; From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of ???


&gt; Sent: Wednesday, November 18, 2015 2:28 PM 

&gt; To: dev@dpdk.org 

&gt; Subject: [dpdk-dev] Questions about rte_eth_dev multiple rx queue 

&gt; selection (~/dpdk/lib/librte_ether). 

&gt; 

&gt; Dear DPDK experts. 

&gt; 

&gt; I really appreciate for your precious answers and advices and thank you for 

&gt; your great contributions. 

&gt; 

&gt; I have questions about rte_eth_dev multiple rx queue usage 

&gt; (~/dpdk/lib/librte_ether). 

&gt; 

&gt; Please let me know, if I am wrong or I have something missed. 

&gt; 

&gt; The applications use rte_eth_dev_configure( port, n_rx_queues, 

&gt; n_tx_queues, &amp;port_conf) to setup multiple rx queues for a port. 

&gt; 

&gt; How can we select rx queues for the packets from a port? Is there any rx 

&gt; queue selection function? 

&gt; 

&gt; Is it determined by NIC and is the rx queue information delivered to DPDK? 

&gt; 

&gt; I will appreciate to you if I can be given any answer, advice, and comments. 

&gt; 

&gt; Thank you very much. 

&gt; 

&gt; Sincerely Yours, 

&gt; 

&gt; Ick-Sung Choi. 








 







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

end of thread, other threads:[~2015-11-18  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9f406f6f14e4b65f76bc4944bee492c@cweb19.nm.nhnsystem.com>
     [not found] ` <697F8B1B48670548A5BAB03E8283550F368232DD@PGSMSX108.gar.corp.intel.com>
2015-11-18  6:47   ` [dpdk-dev] Questions about rte_eth_dev multiple rx queue selection (~/dpdk/lib/librte_ether) 최익성
     [not found] ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A94BEFA@SHSMSX104.ccr.corp.intel.com>
2015-11-18  6:52   ` 최익성
2015-11-18  7:37     ` Zhang, Helin
2015-11-18  7:40       ` 최익성

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