net/mlx5: add device configuration structure
[dpdk.git] / drivers / net / mlx5 / mlx5_flow.c
index e077517..ec179bd 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;