bf3688f1e8
Add insertion rate calculation feature into flow performance application. The application now provide the ability to test insertion rate of specific rte_flow rule, by stressing it to the NIC, and calculate the insertion rate. The application offers some options in the command line, to configure which rule to apply. After that the application will start producing rules with same pattern but increasing the outer IP source address by 1 each time, thus it will give different flow each time, and all other items will have open masks. The current design have single core insertion rate. Signed-off-by: Wisam Jaddo <wisamm@mellanox.com> Acked-by: Xiaoyu Min <jackmin@mellanox.com>
19 lines
456 B
C
19 lines
456 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright 2020 Mellanox Technologies, Ltd
|
|
*
|
|
* This file contains the functions definitions to
|
|
* generate each supported action.
|
|
*/
|
|
|
|
#ifndef FLOW_PERF_ACTION_GEN
|
|
#define FLOW_PERF_ACTION_GEN
|
|
|
|
#include <rte_flow.h>
|
|
|
|
#include "config.h"
|
|
|
|
void fill_actions(struct rte_flow_action *actions, uint64_t actions_selector,
|
|
uint32_t counter, uint16_t next_table, uint16_t hairpinq);
|
|
|
|
#endif /* FLOW_PERF_ACTION_GEN */
|