crypto/ccp: support session related ops
[dpdk.git] / examples / ip_pipeline / thread.c
index 8728db9..fa85cf6 100644 (file)
@@ -2031,6 +2031,18 @@ pipeline_msg_handle_table_rule_add(struct pipeline_data *p,
                }
        }
 
+       if (action->action_mask & (1LLU << RTE_TABLE_ACTION_LB)) {
+               status = rte_table_action_apply(a,
+                       data_in,
+                       RTE_TABLE_ACTION_LB,
+                       &action->lb);
+
+               if (status) {
+                       rsp->status = -1;
+                       return rsp;
+               }
+       }
+
        if (action->action_mask & (1LLU << RTE_TABLE_ACTION_MTR)) {
                status = rte_table_action_apply(a,
                        data_in,
@@ -2243,6 +2255,16 @@ pipeline_msg_handle_table_rule_add_bulk(struct pipeline_data *p,
                                goto fail;
                }
 
+               if (act->action_mask & (1LLU << RTE_TABLE_ACTION_LB)) {
+                       status = rte_table_action_apply(a,
+                               data_in,
+                               RTE_TABLE_ACTION_LB,
+                               &act->lb);
+
+                       if (status)
+                               goto fail;
+               }
+
                if (act->action_mask & (1LLU << RTE_TABLE_ACTION_MTR)) {
                        status = rte_table_action_apply(a,
                                data_in,