aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/diagnostics.h
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Move EEPROM information query from a sysctl in mlx5en(4) to an ioctlHans Petter Selasky2019-10-021-0/+17
| | | | | | | | | | | | in mlx5core. The EEPROM information is not only a property of the mlx5en(4) driver. Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=352983
* Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entryHans Petter Selasky2017-01-301-1/+1
| | | | | | | | | | | structure. This fixes compilation with amd64-xtoolchain-gcc. PR: 216588 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=312983
* Add support for reading advanced diagnostic counters.Hans Petter Selasky2017-01-271-0/+138
By default reading the diagnostic counters is disabled. The firmware decides which counters are supported and only those supported show up in the dev.mce.X.diagnostics sysctl tree. To enable reading of diagnostic counters set one or more of the following sysctls to one: dev.mce.X.conf.diag_general_enable=1 dev.mce.X.conf.diag_pci_enable=1 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=312872