DPDK  23.07.0
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 
48 };
49 
50 struct rte_pmd_cnxk_sec_action {
52  uint32_t sa_index;
54  bool sa_xor;
56  uint16_t sa_hi, sa_lo;
61 };
62 
78 __rte_experimental
79 int rte_pmd_cnxk_hw_sa_read(void *device, struct rte_security_session *sess,
80  void *data, uint32_t len);
96 __rte_experimental
97 int rte_pmd_cnxk_hw_sa_write(void *device, struct rte_security_session *sess,
98  void *data, uint32_t len);
99 #endif /* _PMD_CNXK_H_ */
__rte_experimental int rte_pmd_cnxk_hw_sa_read(void *device, struct rte_security_session *sess, void *data, uint32_t len)
__rte_experimental int rte_pmd_cnxk_hw_sa_write(void *device, struct rte_security_session *sess, void *data, uint32_t len)
rte_pmd_cnxk_sec_action_alg
Definition: rte_pmd_cnxk.h:22