]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: remove fw reporter dump option for non PF
authorMoshe Shemesh <moshe@nvidia.com>
Thu, 25 Jan 2024 11:18:55 +0000 (13:18 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 6 Feb 2024 00:45:51 +0000 (16:45 -0800)
commit17aa2d79b7e550acea2eeafb079773344bada714
tree2db364f2fa736f510537f1beed50f866d33be738
parentdaa6a6eb8f881a846ef9d1698d1da97999e8d86b
net/mlx5: remove fw reporter dump option for non PF

In case function is not a Physical Function it is not allowed to get FW
core dump, so if tried it will fail the fw health reporter dump option.
Instead of failing, remove the option of fw_fatal health reporter dump
for such function.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/health.c