1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef __L2FWD_EVENT_H__
6 #define __L2FWD_EVENT_H__
8 #include <rte_common.h>
9 #include <rte_event_eth_rx_adapter.h>
10 #include <rte_event_eth_tx_adapter.h>
12 #include <rte_spinlock.h>
14 #include "l2fwd_common.h"
16 struct event_setup_ops {
19 struct l2fwd_event_resources {
21 struct event_setup_ops ops;
24 void l2fwd_event_resource_setup(struct l2fwd_resources *rsrc);
25 void l2fwd_event_set_generic_ops(struct event_setup_ops *ops);
26 void l2fwd_event_set_internal_port_ops(struct event_setup_ops *ops);
28 #endif /* __L2FWD_EVENT_H__ */