]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Replace hand written QP context struct with automatic getters
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 6 Apr 2020 12:53:06 +0000 (15:53 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:53:19 +0000 (15:53 +0300)
commitc34c6fca2ec13e29c76d3f6c3b976e417cda2877
treec74bf021910e284cf71ee9450cd68d7827aa8f95
parentb9580efa6fabc5e24d7539d814396abc1decbab5
net/mlx5: Replace hand written QP context struct with automatic getters

By changing debugfs to not use any QP related API, convert the debugfs
code to use MLX5_GET() directly to access QP context instead of hand
written struct.

Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c