mirror of https://github.com/F-Stack/f-stack.git
16 lines
339 B
C
16 lines
339 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2019 Intel Corporation.
|
|
*/
|
|
|
|
#ifndef AF_XDP_DEPS_H_
|
|
#define AF_XDP_DEPS_H_
|
|
|
|
#include <rte_atomic.h>
|
|
#include <rte_branch_prediction.h>
|
|
|
|
/* This is to fix the xsk.h's dependency on asm/barrier.h */
|
|
#define smp_rmb() rte_rmb()
|
|
#define smp_wmb() rte_wmb()
|
|
|
|
#endif /* AF_XDP_DEPS_H_ */
|