]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/drivers/net/af_xdp/af_xdp_deps.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / drivers / net / af_xdp / af_xdp_deps.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Intel Corporation.
3 */
4
5 #ifndef AF_XDP_DEPS_H_
6 #define AF_XDP_DEPS_H_
7
8 #include <rte_atomic.h>
9 #include <rte_branch_prediction.h>
10
11 /* This is to fix the xsk.h's dependency on asm/barrier.h */
12 #define smp_rmb() rte_rmb()
13 #define smp_wmb() rte_wmb()
14
15 #endif /* AF_XDP_DEPS_H_ */