net/mlx5: fix flow mark action on port start
[dpdk.git] / drivers / net / mlx5 / mlx5_flow.c
index 466d74b..f32dfdd 100644 (file)
@@ -1930,6 +1930,7 @@ priv_flow_create(struct priv *priv,
        flow->queues = (uint16_t (*)[])(flow + 1);
        memcpy(flow->queues, parser.queues, parser.queues_n * sizeof(uint16_t));
        flow->queues_n = parser.queues_n;
+       flow->mark = parser.mark;
        /* Copy RSS configuration. */
        flow->rss_conf = parser.rss_conf;
        flow->rss_conf.rss_key = flow->rss_key;