xref: /dpdk/drivers/common/nitrox/nitrox_device.h (revision b4ce35947b163435c50f8fe2a7d47ace09078e1e)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2019 Marvell International Ltd.
3  */
4 
5 #ifndef _NITROX_DEVICE_H_
6 #define _NITROX_DEVICE_H_
7 
8 #include <bus_pci_driver.h>
9 
10 struct nitrox_sym_device;
11 struct nitrox_comp_device;
12 
13 struct nitrox_device {
14 	TAILQ_ENTRY(nitrox_device) next;
15 	struct rte_pci_device *pdev;
16 	uint8_t *bar_addr;
17 	struct nitrox_sym_device *sym_dev;
18 	struct nitrox_comp_device *comp_dev;
19 	struct rte_device rte_sym_dev;
20 	struct rte_device rte_comp_dev;
21 	uint16_t nr_queues;
22 };
23 
24 #endif /* _NITROX_DEVICE_H_ */
25