net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_flow.c
index 27eaf38..ad96288 100644 (file)
@@ -930,7 +930,7 @@ flow_rule_match_acl_get(struct pmd_internals *softnic __rte_unused,
  * Both *tmask* and *fmask* are byte arrays of size *tsize* and *fsize*
  * respectively.
  * They are located within a larger buffer at offsets *toffset* and *foffset*
- * respectivelly. Both *tmask* and *fmask* represent bitmasks for the larger
+ * respectively. Both *tmask* and *fmask* represent bitmasks for the larger
  * buffer.
  * Question: are the two masks equivalent?
  *
@@ -1448,13 +1448,6 @@ flow_rule_action_get(struct pmd_internals *softnic,
                                        action,
                                        "COUNT: Null configuration");
 
-                       if (conf->shared)
-                               return rte_flow_error_set(error,
-                                       ENOTSUP,
-                                       RTE_FLOW_ERROR_TYPE_ACTION_CONF,
-                                       conf,
-                                       "COUNT: Shared counters not supported");
-
                        if (n_count)
                                return rte_flow_error_set(error,
                                        ENOTSUP,
@@ -2207,7 +2200,8 @@ pmd_flow_flush(struct rte_eth_dev *dev,
                        void *temp;
                        int status;
 
-                       TAILQ_FOREACH_SAFE(flow, &table->flows, node, temp) {
+                       RTE_TAILQ_FOREACH_SAFE(flow, &table->flows, node,
+                               temp) {
                                /* Rule delete. */
                                status = softnic_pipeline_table_rule_delete
                                                (softnic,