]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: FW tracer, add hardware structures
authorFeras Daoud <ferasda@mellanox.com>
Tue, 17 Jul 2018 01:35:30 +0000 (18:35 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Jul 2018 21:33:25 +0000 (14:33 -0700)
commitd268e1adc2b8aa0f4b5eb40ba5b3ba8c28426d01
tree0a14af1f82d9d918918b9887e0f2a74015109783
parent66ff5644d1ba75f0dc42a177414e7c13fa0bb664
net/mlx5: FW tracer, add hardware structures

This change adds the infrastructure to mlx5 core fw tracer.
It introduces the following 4 new registers:
MLX5_REG_MTRC_CAP  - Used to read tracer capabilities
MLX5_REG_MTRC_CONF - Used to set tracer configurations
MLX5_REG_MTRC_STDB - Used to query tracer strings database
MLX5_REG_MTRC_CTRL - Used to control the tracer

The capability of the tracing can be checked using mcam access
register, therefore, the mcam access register interface will expose
the tracer register.

Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h