[PATCH] net/mlx5: functions refactor for getting counter's action

Raslan Darawsheh rasland at nvidia.com
Wed Feb 23 09:51:27 CET 2022


Hi,

> -----Original Message-----
> From: Haifei Luo <haifeil at nvidia.com>
> Sent: Monday, February 21, 2022 10:27 AM
> To: Matan Azrad <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>
> Cc: dev at dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Raslan Darawsheh <rasland at nvidia.com>
> Subject: [PATCH] net/mlx5: functions refactor for getting counter's action
> 
> Previously API flow_dv_query_count_ptr is defined to get counter's
> action pointer. This dv function is directly called and the better
> way is by the callback.
> 
> Add one arg in API mlx5_counter_query and the related callback
> counter_query. The added arg is for counter's action pointer.
> 
> Signed-off-by: Haifei Luo <haifeil at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch rebased and applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list