net/mlx5: FW tracer, implement tracer logic
Implement FW tracer logic and registers access, initialization and cleanup flows. Initializing the tracer will be part of load one flow, as multiple PFs will try to acquire ownership but only one will succeed and will be the tracer owner. Signed-off-by: Feras Daoud <ferasda@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
7854ac44fe
commit
f53aaa31cc
@@ -816,6 +816,8 @@ struct mlx5_clock {
|
||||
struct mlx5_pps pps_info;
|
||||
};
|
||||
|
||||
struct mlx5_fw_tracer;
|
||||
|
||||
struct mlx5_core_dev {
|
||||
struct pci_dev *pdev;
|
||||
/* sync pci state */
|
||||
@@ -860,6 +862,7 @@ struct mlx5_core_dev {
|
||||
struct mlx5_clock clock;
|
||||
struct mlx5_ib_clock_info *clock_info;
|
||||
struct page *clock_info_page;
|
||||
struct mlx5_fw_tracer *tracer;
|
||||
};
|
||||
|
||||
struct mlx5_db {
|
||||
|
Reference in New Issue
Block a user