]> git.proxmox.com Git - ceph.git/blob - ceph/src/seastar/dpdk/lib/librte_eal/freebsd/eal/eal_alarm_private.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / seastar / dpdk / lib / librte_eal / freebsd / eal / eal_alarm_private.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
3 */
4
5 #ifndef EAL_ALARM_PRIVATE_H
6 #define EAL_ALARM_PRIVATE_H
7
8 #include <inttypes.h>
9
10 /*
11 * FreeBSD needs a back-channel communication mechanism between interrupt and
12 * alarm thread, because on FreeBSD, timer period is set up inside the interrupt
13 * API and not inside alarm API like on Linux.
14 */
15
16 int
17 eal_alarm_get_timeout_ns(uint64_t *val);
18
19 #endif // EAL_ALARM_PRIVATE_H