DPDK 22.11.5
rte_port_sym_crypto.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
3 */
4
5#ifndef __INCLUDE_RTE_PORT_SYM_CRYPTO_H__
6#define __INCLUDE_RTE_PORT_SYM_CRYPTO_H__
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
21#include <stdint.h>
22
23#include <rte_cryptodev.h>
24
25#include "rte_port.h"
26
29 uint16_t n_pkts, void *arg);
30
34 uint8_t cryptodev_id;
35
37 uint16_t queue_id;
38
41
44};
45
48
49
53 uint8_t cryptodev_id;
54
56 uint16_t queue_id;
57
60
62 uint32_t tx_burst_sz;
63};
64
67
71 uint8_t cryptodev_id;
72
74 uint16_t queue_id;
75
78
80 uint32_t tx_burst_sz;
81
83 uint32_t n_retries;
84};
85
88
89#ifdef __cplusplus
90}
91#endif
92
93#endif
struct rte_port_out_ops rte_port_sym_crypto_writer_nodrop_ops
struct rte_port_in_ops rte_port_sym_crypto_reader_ops
void(* rte_port_sym_crypto_reader_callback_fn)(struct rte_mbuf **pkts, uint16_t n_pkts, void *arg)
struct rte_port_out_ops rte_port_sym_crypto_writer_ops
rte_port_sym_crypto_reader_callback_fn f_callback