Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.11-rc1
[deb_dpdk.git]
/
examples
/
ip_pipeline
/
pipeline.h
diff --git
a/examples/ip_pipeline/pipeline.h
b/examples/ip_pipeline/pipeline.h
index
a953a29
..
e5b1d5d
100644
(file)
--- a/
examples/ip_pipeline/pipeline.h
+++ b/
examples/ip_pipeline/pipeline.h
@@
-27,6
+27,7
@@
enum port_in_type {
PORT_IN_TAP,
PORT_IN_KNI,
PORT_IN_SOURCE,
PORT_IN_TAP,
PORT_IN_KNI,
PORT_IN_SOURCE,
+ PORT_IN_CRYPTODEV,
};
struct port_in_params {
};
struct port_in_params {
@@
-48,6
+49,12
@@
struct port_in_params {
const char *file_name;
uint32_t n_bytes_per_pkt;
} source;
const char *file_name;
uint32_t n_bytes_per_pkt;
} source;
+
+ struct {
+ uint16_t queue_id;
+ void *f_callback;
+ void *arg_callback;
+ } cryptodev;
};
uint32_t burst_size;
};
uint32_t burst_size;
@@
-62,6
+69,7
@@
enum port_out_type {
PORT_OUT_TAP,
PORT_OUT_KNI,
PORT_OUT_SINK,
PORT_OUT_TAP,
PORT_OUT_KNI,
PORT_OUT_SINK,
+ PORT_OUT_CRYPTODEV,
};
struct port_out_params {
};
struct port_out_params {
@@
-76,6
+84,11
@@
struct port_out_params {
const char *file_name;
uint32_t max_n_pkts;
} sink;
const char *file_name;
uint32_t max_n_pkts;
} sink;
+
+ struct {
+ uint16_t queue_id;
+ uint32_t op_offset;
+ } cryptodev;
};
uint32_t burst_size;
int retry;
};
uint32_t burst_size;
int retry;
@@
-268,6
+281,9
@@
struct table_rule_action {
struct rte_table_action_ttl_params ttl;
struct rte_table_action_stats_params stats;
struct rte_table_action_time_params time;
struct rte_table_action_ttl_params ttl;
struct rte_table_action_stats_params stats;
struct rte_table_action_time_params time;
+ struct rte_table_action_sym_crypto_params sym_crypto;
+ struct rte_table_action_tag_params tag;
+ struct rte_table_action_decap_params decap;
};
int
};
int