mbox series

[v9,0/2] eal timer split and implementation for Windows

Message ID 20200617093915.16428-1-fady@mellanox.com (mailing list archive)
Headers
Series eal timer split and implementation for Windows |

Message

Fady Bader June 17, 2020, 9:39 a.m. UTC
  This patchset splits OS dependent EAL timer functions and implements them for windows.

v2:
    * fixing styles and correctness errors.
v3:
    * fixing correctness, get_tsc_freq was reimplemented.
v4:
    * rebasing to the new version of "Windows basic memory management" series.
    * fixing styles and correctness errors.
v5:
    * breaking the dependency on "Windows basic memory management" series.
    * fixing correctness errors and warnings.
v6:
    * fixing styles and correctness errors.
v7:
    * fixing make errors.
v8:
    * fixing error handling issue.
    * removed unneded headers.
v9:
    * rebasing to current master.
    * fixing correctness issue.

Fady Bader (2):
  timer: move from common to Unix directory
  timer: support EAL functions on Windows

 lib/librte_eal/common/eal_common_timer.c | 22 --------
 lib/librte_eal/common/meson.build        |  1 +
 lib/librte_eal/freebsd/Makefile          |  1 +
 lib/librte_eal/linux/Makefile            |  1 +
 lib/librte_eal/unix/eal_unix_timer.c     | 29 ++++++++++
 lib/librte_eal/unix/meson.build          |  1 +
 lib/librte_eal/windows/eal.c             |  6 +++
 lib/librte_eal/windows/eal_timer.c       | 91 ++++++++++++++++++++++++++++++++
 lib/librte_eal/windows/include/rte_os.h  |  2 +
 lib/librte_eal/windows/meson.build       |  1 +
 10 files changed, 133 insertions(+), 22 deletions(-)
 create mode 100644 lib/librte_eal/unix/eal_unix_timer.c
 create mode 100644 lib/librte_eal/windows/eal_timer.c