eal: add internal function to get base address
[dpdk.git] / lib / pipeline / rte_swx_pipeline_internal.h
index 4361c53..fa944c9 100644 (file)
@@ -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_STRUCT,   /* src = h.hdeader, with any sizeof(header) */
+       INSTR_ALU_CKADD_STRUCT,   /* src = h.header, with any sizeof(header) */
 
        /* 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;
+       int *action_is_for_table_entries;
+       int *action_is_for_default_entry;
 
        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;
+       int *action_is_for_table_entries;
+       int *action_is_for_default_entry;
 
        uint32_t size;
        uint32_t timeout;
@@ -1558,7 +1562,7 @@ emit_handler(struct thread *t)
                return;
        }
 
-       /* Header encapsulation (optionally, with prior header decasulation). */
+       /* Header encapsulation (optionally, with prior header decapsulation). */
        if ((t->n_headers_out == 2) &&
            (h1->ptr + h1->n_bytes == t->ptr) &&
            (h0->ptr == h0->ptr0)) {