net/mlx5: fix meter table definitions
authorSuanming Mou <suanmingm@nvidia.com>
Wed, 30 Sep 2020 06:47:01 +0000 (14:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Oct 2020 17:58:11 +0000 (19:58 +0200)
commit3e8f3e51fd930674b5b0a481f35a4914a1a3accb
treec84468e4f43a1fed55f593acd552aec728631d6a
parent38f9369d2496f66ca19b0389dfbc622f8e5efd8a
net/mlx5: fix meter table definitions

As metering and metadata features were developed at the same time. The
metering and metadata tables are defined conflicted.

This cause the meter suffix flow jump to the same metadata table and
cause flow deadloop.

Adjust the metering table define to fix that issue.

Fixes: 46a5e6bc6a85 ("net/mlx5: prepare meter flow tables")
Cc: stable@dpdk.org
Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h