DPDK  23.03.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 
43 };
44 
45 struct 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
74 int rte_pmd_cnxk_hw_sa_read(void *device, struct rte_security_session *sess,
75  void *data, uint32_t len);
91 __rte_experimental
92 int 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_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