]> 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)
commitd8108313f7aae528c76e584170be4f97bc73ee14
tree0a14af1f82d9d918918b9887e0f2a74015109783
parent189ea04055c0b41d8649ac69943a8ee191da5f0d
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