RE: [PATCH v1] net/mlx5: fix meter creation default state

2022-03-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Rongwei Liu > Sent: Monday, March 7, 2022 10:01 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; NBU-Contact- > Thomas Monjalon (EXTERNAL) ; Li Zhang > > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject:

RE: [PATCH v1] net/mlx5: fix meter creation default state

2022-03-07 Thread Matan Azrad
From: Rongwei Liu > Disable means there is no packet drop in the meter. Meter is active always but > programmed with another CIR/CBS value. > > If the user wants to disable the meter in creation, PMD calls the disable() > API > manually after meter initialized. > > Fixes: 444320186393 ("net/m

[PATCH v1] net/mlx5: fix meter creation default state

2022-03-07 Thread Rongwei Liu
Disable means there is no packet drop in the meter. Meter is active always but programmed with another CIR/CBS value. If the user wants to disable the meter in creation, PMD calls the disable() API manually after meter initialized. Fixes: 444320186393 ("net/mlx5: support meter creation with polic