Re: [dpdk-dev] [PATCH v1] net/mlx5: fix meter flow id

2021-05-12 Thread Thomas Monjalon
> > 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: 83306d6c46 ("net/mlx5: fix meter statistics") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Shun Hao

[dpdk-dev] [PATCH v1] net/mlx5: fix meter flow id

2021-05-12 Thread Shun Hao
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: 83306d6c46 ("net/mlx5: fix meter statistics") Cc: sta...@dpdk.org Signed-off-by: Shun Hao --- drivers/net/mlx5/mlx5_flow.c | 4 ++

Re: [dpdk-dev] [PATCH v1] net/mlx5: fix meter flow id

2021-05-12 Thread Matan Azrad
From: Shun Hao > 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: 83306d6c46 ("net/mlx5: fix meter statistics") > Cc: sta...@dpdk.org > > Signed-off-by: Shun Hao Acke