OSDN Git Service

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)
commit57a6c5e992f5d6ab92764a7eaaba855f6d4b2df8
treec74bf021910e284cf71ee9450cd68d7827aa8f95
parentf93f4f4f31492468d5c6903e35cc0e31a9cb2c48
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