Hi, > -----Original Message----- > From: Suanming Mou <suanmi...@nvidia.com> > Sent: Wednesday, February 23, 2022 8:26 AM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com> > Cc: Raslan Darawsheh <rasl...@nvidia.com>; dev@dpdk.org; > sta...@dpdk.org > 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: sta...@dpdk.org > > Signed-off-by: Suanming Mou <suanmi...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh