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 <[email protected]>
Acked-by: Dariusz Sosnowski <[email protected]>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to