]> git.droids-corp.org - dpdk.git/commit
net/mlx5: fix meter sub-policy creation
authorShun Hao <shunh@nvidia.com>
Fri, 18 Feb 2022 07:43:08 +0000 (09:43 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 23 Feb 2022 14:57:34 +0000 (15:57 +0100)
commit94112badf6f579ac76e96bda3b015ffee95a2c68
treed01ee51d0af81aeef11487eb40220b8aeed8b18d
parentad98ff6c500ad99a68b3e3f0a2cdabad5ee7d769
net/mlx5: fix meter sub-policy creation

If meter policy action was RSS, the correct items were not provided
for sub-policy creation.

This fixes the issue by providing original items in meter split, so
the sub-policy creation gets the correct items.

Fixes: 3c481324baf3 ("net/mlx5: fix meter flow direction check")
Cc: stable@dpdk.org
Signed-off-by: Shun Hao <shunh@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow.c