numam-dpdk/examples/link_status_interrupt
Raja Zidane 14d460b888 examples/link_status_interrupt: fix stats refresh rate
TIMER_MILLISECOND is defined as the number of CPU cycles per millisecond.
The current definition is correct only for cores with frequency of 2GHz.

Use DPDK API to get CPU frequency, and to define timer period.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Signed-off-by: Omar Awaysa <omara@nvidia.com>
2022-07-08 16:44:04 +02:00
..
main.c examples/link_status_interrupt: fix stats refresh rate 2022-07-08 16:44:04 +02:00
Makefile examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
meson.build examples: reduce indentation in build files 2021-04-21 14:04:09 +02:00