doc: fix nics features matrix for ixgbe
[dpdk.git] / examples / ip_pipeline / pipeline / pipeline_flow_classification.c
index 04b6915..1921574 100644 (file)
@@ -298,7 +298,7 @@ app_pipeline_fc_add(struct app_params *app,
                (key == NULL))
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -1;
 
@@ -398,7 +398,7 @@ app_pipeline_fc_add_bulk(struct app_params *app,
                (n_keys == 0))
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -1;
 
@@ -448,7 +448,7 @@ app_pipeline_fc_add_bulk(struct app_params *app,
        flow_rsp = rte_malloc(NULL,
                n_keys * sizeof(struct pipeline_fc_add_bulk_flow_rsp),
                RTE_CACHE_LINE_SIZE);
-       if (flow_req == NULL) {
+       if (flow_rsp == NULL) {
                rte_free(flow_req);
                rte_free(new_flow);
                rte_free(signature);
@@ -588,7 +588,7 @@ app_pipeline_fc_del(struct app_params *app,
                (key == NULL))
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -1;
 
@@ -646,7 +646,7 @@ app_pipeline_fc_add_default(struct app_params *app,
        if (app == NULL)
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -1;
 
@@ -698,7 +698,7 @@ app_pipeline_fc_del_default(struct app_params *app,
        if (app == NULL)
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -EINVAL;
 
@@ -879,7 +879,7 @@ app_pipeline_fc_ls(struct app_params *app,
        if (app == NULL)
                return -1;
 
-       p = app_pipeline_data_fe(app, pipeline_id);
+       p = app_pipeline_data_fe(app, pipeline_id, &pipeline_flow_classification);
        if (p == NULL)
                return -1;