1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright 2016,2021 NXP 3 */ 4 5 #ifndef BUS_FSLMC_PRIVATE_H 6 #define BUS_FSLMC_PRIVATE_H 7 8 #include <bus_driver.h> 9 10 #include <bus_fslmc_driver.h> 11 12 /* 13 * FSLMC bus 14 */ 15 struct rte_fslmc_bus { 16 struct rte_bus bus; /**< Generic Bus object */ 17 TAILQ_HEAD(, rte_dpaa2_device) device_list; 18 /**< FSLMC DPAA2 Device list */ 19 TAILQ_HEAD(, rte_dpaa2_driver) driver_list; 20 /**< FSLMC DPAA2 Driver list */ 21 int device_count[DPAA2_DEVTYPE_MAX]; 22 /**< Count of all devices scanned */ 23 }; 24 25 extern struct rte_fslmc_bus rte_fslmc_bus; 26 27 #endif /* BUS_FSLMC_PRIVATE_H */ 28