[PATCH] net/mlx5: fix the eCPRI match on HWS root table

Raslan Darawsheh rasland at nvidia.com
Thu Jun 4 12:54:22 CEST 2026


Hi,


On 04/06/2026 6:52 AM, Bing Zhao wrote:
> When inserting a rule on the root table in HWS mode, the DV
> interfaces are still being used for the matcher and value
> translation.
> 
> For item eCPRI in HWS mode, the DWs of message header and body may be
> 0 for a valid rule. So we need to use some flags on root table to
> decide if the sample ID and matching value should be set for the
> rule. Since the table and rule may be created in turn for
> asynchronous flow API, the flags should be per table to avoid
> over-written. In SWS mode, nothing would be done separately for the
> matcher itself.
> 
> On the non-root table in HWS, the callbacks to fill the WQE will
> handle such case automatically.
> 
> Fixes: 93c7d4c22628 ("net/mlx5: support eCPRI with HWS")
> 
> Signed-off-by: Bing Zhao <bingz 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