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
eal: add internal function to get base address
[dpdk.git]
/
lib
/
pipeline
/
rte_swx_pipeline_internal.h
diff --git
a/lib/pipeline/rte_swx_pipeline_internal.h
b/lib/pipeline/rte_swx_pipeline_internal.h
index
4361c53
..
fa944c9
100644
(file)
--- a/
lib/pipeline/rte_swx_pipeline_internal.h
+++ b/
lib/pipeline/rte_swx_pipeline_internal.h
@@
-309,7
+309,7
@@
enum instruction_type {
*/
INSTR_ALU_CKADD_FIELD, /* src = H */
INSTR_ALU_CKADD_STRUCT20, /* src = h.header, with sizeof(header) = 20 */
*/
INSTR_ALU_CKADD_FIELD, /* src = H */
INSTR_ALU_CKADD_STRUCT20, /* src = h.header, with sizeof(header) = 20 */
- INSTR_ALU_CKADD_STRUCT, /* src = h.h
d
eader, with any sizeof(header) */
+ INSTR_ALU_CKADD_STRUCT, /* src = h.header, with any sizeof(header) */
/* cksub dst src
* dst = dst '- src
/* cksub dst src
* dst = dst '- src
@@
-746,6
+746,8
@@
struct table {
uint32_t n_actions;
int default_action_is_const;
uint32_t action_data_size_max;
uint32_t n_actions;
int default_action_is_const;
uint32_t action_data_size_max;
+ int *action_is_for_table_entries;
+ int *action_is_for_default_entry;
uint32_t size;
uint32_t id;
uint32_t size;
uint32_t id;
@@
-815,6
+817,8
@@
struct learner {
uint32_t n_actions;
int default_action_is_const;
uint32_t action_data_size_max;
uint32_t n_actions;
int default_action_is_const;
uint32_t action_data_size_max;
+ int *action_is_for_table_entries;
+ int *action_is_for_default_entry;
uint32_t size;
uint32_t timeout;
uint32_t size;
uint32_t timeout;
@@
-1558,7
+1562,7
@@
emit_handler(struct thread *t)
return;
}
return;
}
- /* Header encapsulation (optionally, with prior header decasulation). */
+ /* Header encapsulation (optionally, with prior header deca
p
sulation). */
if ((t->n_headers_out == 2) &&
(h1->ptr + h1->n_bytes == t->ptr) &&
(h0->ptr == h0->ptr0)) {
if ((t->n_headers_out == 2) &&
(h1->ptr + h1->n_bytes == t->ptr) &&
(h0->ptr == h0->ptr0)) {