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 <rte_bus_pci.h> 9 #include <rte_cryptodev.h> 10 11 struct nitrox_sym_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 rte_device rte_sym_dev; 19 uint16_t nr_queues; 20 }; 21 22 #endif /* _NITROX_DEVICE_H_ */ 23