Home
last modified time | relevance | path

Searched refs:mlx5_adev_devices (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c239 } mlx5_adev_devices[] = { variable
271 priv->adev = kcalloc(ARRAY_SIZE(mlx5_adev_devices), in mlx5_adev_init()
299 const char *suffix = mlx5_adev_devices[idx].suffix; in add_adev()
347 for (i = 0; i < ARRAY_SIZE(mlx5_adev_devices); i++) { in mlx5_attach_device()
351 if (mlx5_adev_devices[i].is_enabled) { in mlx5_attach_device()
354 enabled = mlx5_adev_devices[i].is_enabled(dev); in mlx5_attach_device()
359 if (mlx5_adev_devices[i].is_supported) in mlx5_attach_device()
360 is_supported = mlx5_adev_devices[i].is_supported(dev); in mlx5_attach_device()
389 i, mlx5_adev_devices[i].suffix); in mlx5_attach_device()
410 for (i = ARRAY_SIZE(mlx5_adev_devices) - 1; i >= 0; i--) { in mlx5_detach_device()
[all …]