Re: [PATCH v2] net/mlx5: unique names for per device caches

From: Breno Leitao
Date: Fri Oct 04 2024 - 06:47:27 EST


On Fri, Sep 20, 2024 at 08:11:29PM +0200, Sebastian Ott wrote:
> Add the device name to the per device kmem_cache names to
> ensure their uniqueness. This fixes warnings like this:
> "kmem_cache of name 'mlx5_fs_fgs' already exists".

Thanks for fixing it. I am hitting the same problem on my side as well:

kmem_cache of name 'mlx5_fs_fgs' already exists
WARNING: CPU: 0 PID: 10 at mm/slab_common.c:108 __kmem_cache_create_args+0xb8/0x320
>
> Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxx>

Reviwed-by: Breno Leitao <leitao@xxxxxxxxxx>