[PATCH] net/mlx5: fix flow create failure with GENEVE options match

Raslan Darawsheh rasland at nvidia.com
Tue Mar 11 08:41:54 CET 2025


Hi,

From: Maayan Kashani <mkashani at nvidia.com>
Sent: Monday, March 3, 2025 3:29 PM
To: dev at dpdk.org
Cc: Maayan Kashani; Dariusz Sosnowski; Raslan Darawsheh; stable at dpdk.org; Bing Zhao; Slava Ovsiienko; Ori Kam; Suanming Mou; Matan Azrad
Subject: [PATCH] net/mlx5: fix flow create failure with GENEVE options match

For non template API on top of HWS,
geneve options were missing a parser and therefor it failed.
In template API it geneve options is configured by the user
using mlx5 set/apply tlv_options commands.

To support hybrid mode, if no parser exists,
added inner configuration of geneve parser, else,
in debug mode, check if the geneve option needed exist in
current parser configured.
In release mode, assume the option exist in current configured parser.

Updated needed configuration for geneve options in doc.

Fixes: e38776c36c8a ("net/mlx5: introduce HWS for non-template flow API")
Cc: stable at dpdk.org

Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
Acked-by: Bing Zhao <bingz at nvidia.com>


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list