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
..
2020-10-09 13:17:42 +02:00
2021-05-03 12:12:42 +02:00
2021-05-03 12:12:42 +02:00
2021-05-04 22:49:37 +02:00
2021-05-04 22:49:37 +02:00
2021-05-11 15:17:55 +02:00
2020-11-03 23:35:04 +01:00
2020-11-03 23:35:04 +01:00