Shun Hao c751be1027 net/mlx5: fix metering with flow ID 0
When getting meter flow_id bits, there's an issue that not handling
correctly if flow_id is 0.

This fix this issue that when flow_id is 0, treat it as 1 bit.

Fixes: 83306d6c465a ("net/mlx5: fix meter statistics")
Cc: stable@dpdk.org

Signed-off-by: Shun Hao <shunh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-05-12 14:49:28 +02:00
..
2021-05-12 00:44:06 +02:00
2021-05-11 15:17:55 +02:00
2021-05-12 14:54:16 +02:00
2021-05-12 14:21:27 +02:00
2021-05-12 10:52:54 +02:00
2021-05-12 14:54:16 +02:00
2021-05-12 14:21:27 +02:00
2021-05-11 15:17:55 +02:00
2021-05-11 15:17:55 +02:00
2021-05-12 14:54:16 +02:00
2021-05-11 18:51:21 +02:00
2021-04-21 12:37:55 +02:00