1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef __OTX2_ETHDEV_H__
6 #define __OTX2_ETHDEV_H__
10 #include <rte_common.h>
12 #include "otx2_common.h"
15 #include "otx2_mempool.h"
18 OTX2_DEV; /* Base class */
19 } __rte_cache_aligned;
21 static inline struct otx2_eth_dev *
22 otx2_eth_pmd_priv(struct rte_eth_dev *eth_dev)
24 return eth_dev->data->dev_private;
27 #endif /* __OTX2_ETHDEV_H__ */