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)
commiteff8ea8f24eac76bc21c25e4ca4ac4ee2dade846
tree0a14af1f82d9d918918b9887e0f2a74015109783
parent31e33a5b41bb158f27c30e13b12d6e5e6513ea05
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