The dp_netdev_process_rxq_port() will use the “cycles_count_start” and “cycles_count_end” for counting the cycles. But via perf tool, I found that cycles_count_xxx uses a lot of CPU. One question to ask: there is one thread to use the pmd struct to processing the packets, right? If so, pmd should be thread safety and atomic should not be used for cycles_count_xxx.
Thanks. Nick
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
