Re: [PATCH] net/mlx5: fix error notifications in counter initialization

2024-10-28 Thread Raslan Darawsheh
Hi, From: Gregory Etelson Sent: Sunday, October 27, 2024 3:58 PM To: dev@dpdk.org Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; sta...@dpdk.org; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad; Jack Min Subject: [PATCH] net/mlx5: fix error

[PATCH] net/mlx5: fix error notifications in counter initialization

2024-10-27 Thread Gregory Etelson
If counter action initialization failed, the PMD used integer values, primarily (-1) or errno, to notify upper layers. The patch uses the `rte_flow_error` structure for counter initialization failure notifications. Fixes: 4d368e1da3a4 ("net/mlx5: support flow counter action for HWS") Cc: sta...@