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"<sy.jong.c...@intel.com> To: "???"<pnk003 at naver.com>; "dev at dpdk.org"<dev at dpdk.org>; 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-boun...@dpdk.org] On Behalf Of ??? Sent: Wednesday, November 18, 2015 2:28 PM To: dev at 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.