2019-10-01 06:41:20 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(C) 2019 Marvell International Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NITROX_DEVICE_H_
|
|
|
|
#define _NITROX_DEVICE_H_
|
|
|
|
|
|
|
|
#include <rte_bus_pci.h>
|
|
|
|
#include <rte_cryptodev.h>
|
|
|
|
|
2019-10-01 06:41:23 +00:00
|
|
|
struct nitrox_sym_device;
|
|
|
|
|
2019-10-01 06:41:20 +00:00
|
|
|
struct nitrox_device {
|
|
|
|
TAILQ_ENTRY(nitrox_device) next;
|
|
|
|
struct rte_pci_device *pdev;
|
|
|
|
uint8_t *bar_addr;
|
2019-10-01 06:41:23 +00:00
|
|
|
struct nitrox_sym_device *sym_dev;
|
|
|
|
struct rte_device rte_sym_dev;
|
2019-10-01 06:41:20 +00:00
|
|
|
uint16_t nr_queues;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _NITROX_DEVICE_H_ */
|