git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/sfc_efx/base: support getting virtq doorbell offset
[dpdk.git]
/
app
/
test-flow-perf
/
flow_gen.c
diff --git
a/app/test-flow-perf/flow_gen.c
b/app/test-flow-perf/flow_gen.c
index
b2c828c
..
df4af16
100644
(file)
--- a/
app/test-flow-perf/flow_gen.c
+++ b/
app/test-flow-perf/flow_gen.c
@@
-43,6
+43,9
@@
generate_flow(uint16_t port_id,
uint16_t next_table,
uint32_t outer_ip_src,
uint16_t hairpinq,
uint16_t next_table,
uint32_t outer_ip_src,
uint16_t hairpinq,
+ uint64_t encap_data,
+ uint64_t decap_data,
+ uint8_t core_idx,
struct rte_flow_error *error)
{
struct rte_flow_attr attr;
struct rte_flow_error *error)
{
struct rte_flow_attr attr;
@@
-57,9
+60,10
@@
generate_flow(uint16_t port_id,
fill_attributes(&attr, flow_attrs, group);
fill_actions(actions, flow_actions,
fill_attributes(&attr, flow_attrs, group);
fill_actions(actions, flow_actions,
- outer_ip_src, next_table, hairpinq);
+ outer_ip_src, next_table, hairpinq,
+ encap_data, decap_data, core_idx);
- fill_items(items, flow_items, outer_ip_src);
+ fill_items(items, flow_items, outer_ip_src
, core_idx
);
flow = rte_flow_create(port_id, &attr, items, actions, error);
return flow;
flow = rte_flow_create(port_id, &attr, items, actions, error);
return flow;