net/mlx5: FW tracer, implement tracer logic
authorFeras Daoud <ferasda@mellanox.com>
Mon, 16 Jul 2018 22:22:01 +0000 (15:22 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 23 Jul 2018 22:01:11 +0000 (15:01 -0700)
commitf53aaa31cce7b543e407da7e97690a700206f7b9
tree45eec25cb50c160a158d21efdf4c24891c0382a2
parent7854ac44fe86548f8a6c6001938a1a2593b255e4
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>
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h [new file with mode: 0644]
include/linux/mlx5/driver.h