Skip to content

Commit

Permalink
Revert "Revert "Add mlx5_core plugin""
Browse files Browse the repository at this point in the history
Reenable mlx5_core plugin as the mlx5 driver was fixed and
it doesn't crash from doca 2.8 version.

This reverts commit 732995a.

Signed-off-by: Maor Dickman <[email protected]>
  • Loading branch information
dickmanmaor committed Sep 17, 2024
1 parent c74b949 commit 39e5099
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions sos/report/plugins/mlx5_core.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright (C) 2024 Nvidia Corporation,
# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.report.plugins import Plugin, IndependentPlugin


class Mlx5_core(Plugin, IndependentPlugin):
"""The mlx5_core plugin is aimed at collecting debug information related to
Mellenox 5th generation network adapters core driver
"""
short_desc = 'Mellanox 5th generation network adapters (ConnectX series)\
core driver'
plugin_name = 'mlx5_core'
profiles = ('hardware', )

def setup(self):
self.add_copy_spec([
'/sys/kernel/debug/mlx5/0000:*/*',
])


# vim: set et ts=4 sw=4 :

0 comments on commit 39e5099

Please sign in to comment.