Hi

Usually when working with netdev bridge, the ports in it are “is_pmd=true” 
(dpdk and similar).
However, it is also possible to use other ports, for example veth ports. Those 
are “system” netdev ports, with “is_pmd=false”.
The “is_pmd” ports are polled by the PMD threads, while the non-pmd ones are 
handled in the main thread.
This logic was introduced in [1], as handling non-pmd ports involves system 
calls, they are meant to be avoided from the PMD threads.

The main thread handles all kind of events, for example ofctl queries. In the 
presence of veth ports configured, such query is very much slowed down, as the 
main thread checks the non-pmd ports, even with no traffic.
In the customer specific case, as most of the traffic is offloaded and not 
handled by PMD threads, I changed "system" netdevs to be "is_pmd" to resolve 
this, but I though if someone has a cleaner solution here.

Any comments are welcomed.

Thanks,
Eli

[1] e4cfed38b159 ("dpif-netdev: Add poll-mode-device thread.")
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to