net/ice: fix perfect match for ACL rule
[dpdk.git] / app / test-flow-perf / actions_gen.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2020 Mellanox Technologies, Ltd
3  *
4  * This file contains the functions definitions to
5  * generate each supported action.
6  */
7
8 #ifndef FLOW_PERF_ACTION_GEN
9 #define FLOW_PERF_ACTION_GEN
10
11 #include <rte_flow.h>
12
13 #include "config.h"
14
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
19
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);
23
24 #endif /* FLOW_PERF_ACTION_GEN */