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

Raslan Darawsheh rasland at nvidia.com
Mon Oct 28 14:16:50 CET 2024


Hi,

From: Gregory Etelson <getelson at nvidia.com>
Sent: Sunday, October 27, 2024 3:58 PM
To: dev at dpdk.org
Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; stable at dpdk.org; Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad; Jack Min
Subject: [PATCH] net/mlx5: fix error notifications in counter initialization

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: stable at dpdk.org

Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh



More information about the dev mailing list