DPDK 23.11.0
Loading...
Searching...
No Matches
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
20#include <stdint.h>
21
22#include <rte_cryptodev.h>
23
24#include "rte_port.h"
25
28 uint16_t n_pkts, void *arg);
29
44
47
48
52 uint8_t cryptodev_id;
53
55 uint16_t queue_id;
56
59
61 uint32_t tx_burst_sz;
62};
63
66
70 uint8_t cryptodev_id;
71
73 uint16_t queue_id;
74
77
79 uint32_t tx_burst_sz;
80
82 uint32_t n_retries;
83};
84
87
88#ifdef __cplusplus
89}
90#endif
91
92#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