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
net/ice: support Tx buffers cleanup in DCF mode
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline.h
diff --git
a/examples/ip_pipeline/pipeline.h
b/examples/ip_pipeline/pipeline.h
index
2034504
..
4d2ee29
100644
(file)
--- a/
examples/ip_pipeline/pipeline.h
+++ b/
examples/ip_pipeline/pipeline.h
@@
-276,6
+276,10
@@
struct table_rule_match {
} match;
};
} match;
};
+#ifndef SYM_CRYPTO_MAX_KEY_SIZE
+#define SYM_CRYPTO_MAX_KEY_SIZE (256)
+#endif
+
struct table_rule_action {
uint64_t action_mask;
struct rte_table_action_fwd_params fwd;
struct table_rule_action {
uint64_t action_mask;
struct rte_table_action_fwd_params fwd;
@@
-288,8
+292,10
@@
struct table_rule_action {
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_stats_params stats;
struct rte_table_action_time_params time;
struct rte_table_action_sym_crypto_params sym_crypto;
+ uint8_t sym_crypto_key[SYM_CRYPTO_MAX_KEY_SIZE];
struct rte_table_action_tag_params tag;
struct rte_table_action_decap_params decap;
struct rte_table_action_tag_params tag;
struct rte_table_action_decap_params decap;
+
};
struct table_rule {
};
struct table_rule {
@@
-329,22
+335,19
@@
int
pipeline_table_rule_add(const char *pipeline_name,
uint32_t table_id,
struct table_rule_match *match,
pipeline_table_rule_add(const char *pipeline_name,
uint32_t table_id,
struct table_rule_match *match,
- struct table_rule_action *action,
- void **data);
+ struct table_rule_action *action);
int
pipeline_table_rule_add_bulk(const char *pipeline_name,
uint32_t table_id,
int
pipeline_table_rule_add_bulk(const char *pipeline_name,
uint32_t table_id,
- struct table_rule_match *match,
- struct table_rule_action *action,
- void **data,
- uint32_t *n_rules);
+ struct table_rule_list *list,
+ uint32_t *n_rules_added,
+ uint32_t *n_rules_not_added);
int
pipeline_table_rule_add_default(const char *pipeline_name,
uint32_t table_id,
int
pipeline_table_rule_add_default(const char *pipeline_name,
uint32_t table_id,
- struct table_rule_action *action,
- void **data);
+ struct table_rule_action *action);
int
pipeline_table_rule_delete(const char *pipeline_name,
int
pipeline_table_rule_delete(const char *pipeline_name,
@@
-358,7
+361,7
@@
pipeline_table_rule_delete_default(const char *pipeline_name,
int
pipeline_table_rule_stats_read(const char *pipeline_name,
uint32_t table_id,
int
pipeline_table_rule_stats_read(const char *pipeline_name,
uint32_t table_id,
-
void *data
,
+
struct table_rule_match *match
,
struct rte_table_action_stats_counters *stats,
int clear);
struct rte_table_action_stats_counters *stats,
int clear);
@@
-376,8
+379,7
@@
pipeline_table_mtr_profile_delete(const char *pipeline_name,
int
pipeline_table_rule_mtr_read(const char *pipeline_name,
uint32_t table_id,
int
pipeline_table_rule_mtr_read(const char *pipeline_name,
uint32_t table_id,
- void *data,
- uint32_t tc_mask,
+ struct table_rule_match *match,
struct rte_table_action_mtr_counters *stats,
int clear);
struct rte_table_action_mtr_counters *stats,
int clear);
@@
-390,9
+392,16
@@
pipeline_table_dscp_table_update(const char *pipeline_name,
int
pipeline_table_rule_ttl_read(const char *pipeline_name,
uint32_t table_id,
int
pipeline_table_rule_ttl_read(const char *pipeline_name,
uint32_t table_id,
-
void *data
,
+
struct table_rule_match *match
,
struct rte_table_action_ttl_counters *stats,
int clear);
struct rte_table_action_ttl_counters *stats,
int clear);
+
+int
+pipeline_table_rule_time_read(const char *pipeline_name,
+ uint32_t table_id,
+ struct table_rule_match *match,
+ uint64_t *timestamp);
+
struct table_rule *
table_rule_find(struct table *table,
struct table_rule_match *match);
struct table_rule *
table_rule_find(struct table *table,
struct table_rule_match *match);