Re: [ovs-dev] [PATCH v2 2/3] dpif-netdev-perf: Fix TSC frequency for non-DPDK case.

2019-09-02 Thread David Marchand
On Mon, Sep 2, 2019 at 1:27 PM Ilya Maximets wrote: > > Unlike 'rte_get_tsc_cycles()' which doesn't need any specific > initialization, 'rte_get_tsc_hz()' could be used only after successfull > call to 'rte_eal_init()'. 'rte_eal_init()' estimates the TSC frequency > for later use by

[ovs-dev] [PATCH v2 2/3] dpif-netdev-perf: Fix TSC frequency for non-DPDK case.

2019-09-02 Thread Ilya Maximets
Unlike 'rte_get_tsc_cycles()' which doesn't need any specific initialization, 'rte_get_tsc_hz()' could be used only after successfull call to 'rte_eal_init()'. 'rte_eal_init()' estimates the TSC frequency for later use by 'rte_get_tsc_hz()'. Fairly said, we're not allowed to use