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

2022-02-23 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Haifei Luo > Sent: Monday, February 21, 2022 10:27 AM > To: Matan Azrad ; Ori Kam ; Slava > Ovsiienko ; Shahaf Shuler > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Raslan Darawsheh > Subject: [PATCH] net/mlx5

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

2022-02-21 Thread Haifei Luo
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: