net/mlx5: move Linux-specific functions
[dpdk.git] / drivers / net / dpaa2 / dpaa2_flow.c
index 572eb84..8aa65db 100644 (file)
@@ -1505,7 +1505,8 @@ dpaa2_generic_flow_set(struct rte_flow *flow,
                        index = flow->index + (flow->tc_id * nic_attr.fs_entries);
                        ret = dpni_add_qos_entry(dpni, CMD_PRI_LOW,
                                                priv->token, &flow->rule,
-                                               flow->tc_id, index);
+                                               flow->tc_id, index,
+                                               0, 0);
                        if (ret < 0) {
                                DPAA2_PMD_ERR(
                                "Error in addnig entry to QoS table(%d)", ret);
@@ -1607,7 +1608,7 @@ dpaa2_generic_flow_set(struct rte_flow *flow,
                        index = flow->index + (flow->tc_id * nic_attr.fs_entries);
                        ret = dpni_add_qos_entry(dpni, CMD_PRI_LOW, priv->token,
                                                &flow->rule, flow->tc_id,
-                                               index);
+                                               index, 0, 0);
                        if (ret < 0) {
                                DPAA2_PMD_ERR(
                                "Error in entry addition in QoS table(%d)",
@@ -1849,13 +1850,13 @@ struct rte_flow *dpaa2_flow_create(struct rte_eth_dev *dev,
        key_iova = (size_t)rte_malloc(NULL, 256, 64);
        if (!key_iova) {
                DPAA2_PMD_ERR(
-                       "Memory allocation failure for rule configration\n");
+                       "Memory allocation failure for rule configuration\n");
                goto mem_failure;
        }
        mask_iova = (size_t)rte_malloc(NULL, 256, 64);
        if (!mask_iova) {
                DPAA2_PMD_ERR(
-                       "Memory allocation failure for rule configration\n");
+                       "Memory allocation failure for rule configuration\n");
                goto mem_failure;
        }