RE: [PATCH] net/mlx5: relax hws meter validation

2023-03-23 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Alexander Kozyrev > Sent: Monday, March 13, 2023 8:15 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; Matan Azrad ; Ori Kam > > Subject: [PATCH] net/mlx5: relax hws meter validation > > The policies arr

RE: [PATCH] net/mlx5: relax hws meter validation

2023-03-23 Thread Matan Azrad
From: Alexander Kozyrev > 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().

[PATCH] net/mlx5: relax hws meter validation

2023-03-13 Thread Alexander Kozyrev
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 o