]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5e: Do not fail PSP init on missing caps
authorCosmin Ratiu <cratiu@nvidia.com>
Sun, 5 Oct 2025 08:29:59 +0000 (11:29 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 Oct 2025 10:59:56 +0000 (12:59 +0200)
commit8e87b3edd0784e534d9ad1e0a24577b759045cbe
tree511435f7a2a9dbce8b9b5ed4b3ffd43cdbd584a9
parent22239eb258bc1e6ccdb2d3502fce1cc2b2a88386
net/mlx5e: Do not fail PSP init on missing caps

PSP support requires a set of cap bits to be set, otherwise an init
error is logged.

But logging an error when PSP cannot be initialized is too much, and not
in line with other features. If a feature cannot be initialized because
it is not supported, that's not an error. An error should only be
printed when the feature cannot be initialized because of an actual
error.

Fixes: 89ee2d92f66c ("net/mlx5e: Support PSP offload functionality")
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1759652999-858513-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/psp.c