Re: [PATCH net] net/mlx5: Use unique names for software steering caches
From: Christian Borntraeger
Date: Thu Jul 16 2026 - 02:57:59 EST
Am 15.07.26 um 10:22 schrieb Leon Romanovsky:
From: Leon Romanovsky <leonro@xxxxxxxxxx>[...]
Each software steering domain creates its own slab caches, but all
domains use the same names. When domains for two devices are alive at
once, the second kmem_cache_create() triggers the following splat:
Prefix each cache name with the device name to make it unique.
Fixes: fd785e5213f0 ("net/mlx5: DR, Allocate icm_chunks from their own slab allocator")
Fixes: fb628b71fb2a ("net/mlx5: DR, Allocate htbl from its own slab allocator")
Reported-by: Christian Borntraeger <borntraeger@xxxxxxxxxxxxx>
Closes: https://lore.kernel.org/all/a3cea501-4d1f-47d5-b6d0-fcda9a0aab16@xxxxxxxxxxxxx/
Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
Tested-by: Christian Borntraeger <borntraeger@xxxxxxxxxxxxx>
error is gone in our CI when the patch is applied.