1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2020 Marvell International Ltd.
4 #ifndef _IPSEC_WORKER_H_
5 #define _IPSEC_WORKER_H_
10 PKT_TYPE_PLAIN_IPV4 = 1,
20 PKT_POSTED /* for lookaside case */
24 struct rt_ctx *rt4_ctx;
25 struct rt_ctx *rt6_ctx;
29 * Conf required by event mode worker with tx internal port
31 struct lcore_conf_ev_tx_int_port_wrkr {
32 struct ipsec_ctx inbound;
33 struct ipsec_ctx outbound;
34 struct route_table rt;
35 } __rte_cache_aligned;
37 void ipsec_poll_mode_worker(void);
39 int ipsec_launch_one_lcore(void *args);
41 #endif /* _IPSEC_WORKER_H_ */