[PATCH] net/mlx5: relax hws meter validation

Raslan Darawsheh rasland at nvidia.com
Thu Mar 23 12:01:50 CET 2023


Hi,

> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Monday, March 13, 2023 8:15 PM
> To: dev at dpdk.org
> Cc: Raslan Darawsheh <rasland at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>; Ori Kam
> <orika at nvidia.com>
> Subject: [PATCH] net/mlx5: relax hws meter validation
> 
> The policies array is not required for the new METER_MARK action.
> It is only required for the old METER action implementation.
> Furthermore, the profiles array is optional for the METER_MARK action
> since a profile can be found using the rte_mtr_meter_profile_get().
> Do not enforce the preallocation of meter profiles and policies.
> 
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list