Try not to drop the list In the general case, including the specific case that you mention, today’s design is to select a queue from the tx port queues starting from low ID, that has the least contending PMD threads.
From: Hui Jing <[email protected]> Date: Sunday, June 11, 2017 at 2:33 PM To: Darrell Ball <[email protected]> Subject: Re: [ovs-discuss] vhost-user multiqueue PMD RSS Hi Darrell Ball, Thanks for your reply with the link. Actually, my question comes from there when I was reading the article. In the article, Everything makes perfect sense when it says each PMD handle a single queue of the NIC. I am wondering what if one PMD thread is responsible for more queues (which is possible) of the VNIC, or in other words, number of PMD threads is less than the number of queues of vhost-user. In this case, how the PMD distribute traffic. Best regards, Hui On Sun, Jun 11, 2017 at 7:21 PM, Darrell Ball <[email protected]<mailto:[email protected]>> wrote: https://software.intel.com/en-us/articles/configure-vhost-user-multiqueue-for-ovs-with-dpdk<https://urldefense.proofpoint.com/v2/url?u=https-3A__software.intel.com_en-2Dus_articles_configure-2Dvhost-2Duser-2Dmultiqueue-2Dfor-2Dovs-2Dwith-2Ddpdk&d=DwMFaQ&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=t6e4fxDY-056Dec9-A_jqM07-wRZIe-IM57ykiU0cuU&s=5rFLcAUhoV5uqReRdeUzso2tbYhv67Az02iDwKvWs3I&e=> From: <[email protected]<mailto:[email protected]>> on behalf of Hui Jing <[email protected]<mailto:[email protected]>> Date: Sunday, June 11, 2017 at 5:04 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [ovs-discuss] vhost-user multiqueue PMD RSS Hi all, I am new to OVS-DPDK and trying to figure out the mechanism of vhost-user multiqueue scenario. I understand that the PMD thread is created for polling the queues of vhost-user or physical NIC and the affinity bind PMD to queues. However, the PMD transmission side confused me, I would like to learn PMD thread mechanism and how it distributes traffic to different queues. Let's consider this scenario: one PMD thread is responsible for two queues of one vhost-user, when packet destined to the vhost-user, how it decide which queue to trasmit? is there equivalence to RSS? ========= |Rx Queue0| Traffic ==>PMD thread ==> ==>Virtio Frontend in VM |Rx Queue1| ========= Thanks in advance Best Regards, Hui
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
