[v2 01/10] net/mlx5/hws: skip RTE item when inserting rules by index
Raslan Darawsheh
rasland at nvidia.com
Mon Feb 26 11:16:37 CET 2024
Hi,
> -----Original Message-----
> From: Itamar Gozlan <igozlan at nvidia.com>
> Sent: Sunday, February 18, 2024 7:11 AM
> To: Itamar Gozlan <igozlan at nvidia.com>; Erez Shitrit <erezsh at nvidia.com>;
> Hamdan Agbariya <hamdani at nvidia.com>; Yevgeny Kliteynik
> <kliteyn at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; NBU-
> Contact-Thomas Monjalon (EXTERNAL) <thomas at monjalon.net>; Suanming
> Mou <suanmingm at nvidia.com>; Dariusz Sosnowski
> <dsosnowski at nvidia.com>; Ori Kam <orika at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Alex Vesker <valex at nvidia.com>
> Cc: dev at dpdk.org
> Subject: [v2 01/10] net/mlx5/hws: skip RTE item when inserting rules by index
>
> The location of indexed rules is determined by the index, not the item hash. A
> matcher test is added to prevent access to non-existent items.
> This avoids unnecessary processing and potential segmentation faults.
>
> Fixes: 405242c ("net/mlx5/hws: add rule object")
> Signed-off-by: Itamar Gozlan <igozlan at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Fixed few fixes tags,
Series applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list