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. -------------- next part -------------- A non-text attachment was scrubbed... Name: testpmd_app_ug-2.1.pdf Type: application/pdf Size: 123661 bytes Desc: testpmd_app_ug-2.1.pdf URL: <http://dpdk.org/ml/archives/dev/attachments/20151118/5be503e4/attachment-0001.pdf>