summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShahaf Shuler <shahafs@mellanox.com>2017-11-15 09:09:49 +0200
committerThomas Monjalon <thomas@monjalon.net>2017-11-15 09:06:31 +0100
commit0384f21dffc9081d1ae30f0a6e49926bfc4be85d (patch)
tree928950e43df4ad6cfee2d1cf96a57c51863e16ab
parent1e447bcc61ec52005c3fac466d9c149be39979d2 (diff)
downloaddpdk-draft-cli-0384f21dffc9081d1ae30f0a6e49926bfc4be85d.zip
dpdk-draft-cli-0384f21dffc9081d1ae30f0a6e49926bfc4be85d.tar.gz
dpdk-draft-cli-0384f21dffc9081d1ae30f0a6e49926bfc4be85d.tar.xz
net/mlx5: fix flow mark action on port start
Mark action flag was not set on the flow, causing the rx burst function after port start to ignore the flow mark. Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow") Signed-off-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
-rw-r--r--drivers/net/mlx5/mlx5_flow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index 466d74b..f32dfdd 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -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;