DPDK 22.11.6
rte_pmd_cnxk.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2022 Marvell.
3 */
4
11#ifndef _PMD_CNXK_H_
12#define _PMD_CNXK_H_
13
14#include <rte_compat.h>
15#include <rte_ethdev.h>
16#include <rte_ether.h>
17#include <rte_security.h>
18
43};
44
45struct rte_pmd_cnxk_sec_action {
47 uint32_t sa_index;
49 bool sa_xor;
51 uint16_t sa_hi, sa_lo;
56};
57
73__rte_experimental
74int rte_pmd_cnxk_hw_sa_read(void *device, struct rte_security_session *sess,
75 void *data, uint32_t len);
91__rte_experimental
92int rte_pmd_cnxk_hw_sa_write(void *device, struct rte_security_session *sess,
93 void *data, uint32_t len);
94#endif /* _PMD_CNXK_H_ */
rte_pmd_cnxk_sec_action_alg
Definition: rte_pmd_cnxk.h:22
@ RTE_PMD_CNXK_SEC_ACTION_ALG2
Definition: rte_pmd_cnxk.h:36
@ RTE_PMD_CNXK_SEC_ACTION_ALG1
Definition: rte_pmd_cnxk.h:31
@ RTE_PMD_CNXK_SEC_ACTION_ALG0
Definition: rte_pmd_cnxk.h:26
@ RTE_PMD_CNXK_SEC_ACTION_ALG3
Definition: rte_pmd_cnxk.h:42
__rte_experimental int rte_pmd_cnxk_hw_sa_write(void *device, struct rte_security_session *sess, void *data, uint32_t len)
__rte_experimental int rte_pmd_cnxk_hw_sa_read(void *device, struct rte_security_session *sess, void *data, uint32_t len)