Hi,

> -----Original Message-----
> From: Suanming Mou <[email protected]>
> Sent: Wednesday, February 23, 2022 8:26 AM
> To: Slava Ovsiienko <[email protected]>; Matan Azrad
> <[email protected]>
> Cc: Raslan Darawsheh <[email protected]>; [email protected];
> [email protected]
> Subject: [PATCH] net/mlx5: fix indexed pool fetch overlap issue
> 
> For indexed pool with local cache, when a new trunk is allocated,
> half of the trunk's index was fetched to the local cache. In case
> of local cache size was less then half of the trunk size, memory
> overlap happened.
> 
> This commit adds the check of the fetch size, if local cache size
> is less than fetch size, adjust the fetch size to be local cache
> size.
> 
> Fixes: d15c0946beea ("net/mlx5: add indexed pool local cache")
> Cc: [email protected]
> 
> Signed-off-by: Suanming Mou <[email protected]>
> Acked-by: Viacheslav Ovsiienko <[email protected]>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to