]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mlx5_core: Import PDDR register definitions
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 31 Aug 2020 16:23:51 +0000 (16:23 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 31 Aug 2020 16:23:51 +0000 (16:23 +0000)
commite088db5eaec5b43e1effc7edb82b37c4a0ff0282
treeca4aacf0ef2d829772d5ebe65849844249864f8d
parent76cc4c20473495c839c4df9cfe0bf46632738f03
mlx5_core: Import PDDR register definitions

PDDR (Port Diagnostics Database Register) is used to read the physical
layer debug database, which contains helpful troubleshooting information
regarding the state of the link.

PDDR register can only be queried when PCAM register reports it as
supported in its register mask. A new helper macro was added to
the MLX5_CAP_* infrastructure in order to access this mask.

Sponsored by: Mellanox Technologies - Nvidia
MFC after: 1 week
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_core.h
sys/dev/mlx5/mlx5_ifc.h