1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2020 Mellanox Technologies, Ltd
4 * This file contains the functions definitions to
5 * generate each supported action.
8 #ifndef FLOW_PERF_ACTION_GEN
9 #define FLOW_PERF_ACTION_GEN
15 #define RTE_IP_TYPE_UDP 17
16 #define RTE_IP_TYPE_GRE 47
17 #define RTE_VXLAN_GPE_UDP_PORT 250
18 #define RTE_GENEVE_UDP_PORT 6081
20 void fill_actions(struct rte_flow_action *actions, uint64_t *flow_actions,
21 uint32_t counter, uint16_t next_table, uint16_t hairpinq,
22 uint64_t encap_data, uint64_t decap_data);
24 #endif /* FLOW_PERF_ACTION_GEN */