]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mlx5_core: add mlx5_query_pddr().
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 31 Aug 2020 16:25:55 +0000 (16:25 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 31 Aug 2020 16:25:55 +0000 (16:25 +0000)
commit62daa4b6e897d772e338cb921fc194dda1a65761
tree7ca546f4d8120d1c66462977bbd31a6577b16ab4
parente088db5eaec5b43e1effc7edb82b37c4a0ff0282
mlx5_core: add mlx5_query_pddr().

And use it in mlx5_query_pddr_range_info() instead of direct register
access.

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