net/mlx5: fix missing meter packet
authorXueming Li <xuemingl@nvidia.com>
Tue, 3 Nov 2020 11:01:39 +0000 (11:01 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commitc3ba8ecb767f0d34c792c82a92c378195f3530b4
tree566895c0d7f373a14602228e041093a474c640c5
parentddd63c387e64236751eb8c482cd5ab1d61a1cc07
net/mlx5: fix missing meter packet

For transfer flow with meter, packet was passed without applying flow
action. The group level was multiplied by 10 for group level 65531.

This patch fixes this issue by correcting suffix table group level
calculation.

Fixes: 3e8f3e51fd93 ("net/mlx5: fix meter table definitions")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.h