numam-dpdk/drivers/crypto/nitrox/nitrox_device.h
Nagadheeraj Rottela 9fdef0cc23 crypto/nitrox: create symmetric cryptodev
Add Nitrox symmetric cryptodev with following operations,
- dev_configure
- dev_start
- dev_stop
- dev_close
- dev_infos_get

Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-09 11:50:12 +02:00

23 lines
458 B
C

/* 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>
struct nitrox_sym_device;
struct nitrox_device {
TAILQ_ENTRY(nitrox_device) next;
struct rte_pci_device *pdev;
uint8_t *bar_addr;
struct nitrox_sym_device *sym_dev;
struct rte_device rte_sym_dev;
uint16_t nr_queues;
};
#endif /* _NITROX_DEVICE_H_ */