]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_flow.c
net/mlx5: add device configuration structure
[dpdk.git] / drivers / net / mlx5 / mlx5_flow.c
index e0775172cc7f7e0c1dea86c4b94590f4f70074f5..ec179bd302029450f52a2b350c3bbfeef7ad1770 100644 (file)
@@ -778,7 +778,7 @@ priv_flow_convert_actions(struct priv *priv,
                } else if (actions->type == RTE_FLOW_ACTION_TYPE_FLAG) {
                        parser->mark = 1;
                } else if (actions->type == RTE_FLOW_ACTION_TYPE_COUNT &&
-                          priv->counter_set_supported) {
+                          priv->config.counter_set_supported) {
                        parser->count = 1;
                } else {
                        goto exit_action_not_supported;