mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
dpif-netdev: Allow multi-rx-queue, multi-pmd-thread configuration.
This commits adds the multithreading functionality to OVS dpdk module. Users are able to create multiple pmd threads and set their cpu affinity via specifying the cpu mask string similar to the EAL '-c COREMASK' option. Also, the number of rx queues for each dpdk interface is made configurable to help distribution of rx packets among multiple pmd threads. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
@@ -1925,6 +1925,7 @@ const struct dpif_class dpif_netlink_class = {
|
||||
dpif_netlink_operate,
|
||||
dpif_netlink_recv_set,
|
||||
dpif_netlink_handlers_set,
|
||||
NULL, /* poll_thread_set */
|
||||
dpif_netlink_queue_to_priority,
|
||||
dpif_netlink_recv,
|
||||
dpif_netlink_recv_wait,
|
||||
|
Reference in New Issue
Block a user