mlx5: Move dump error CQE function out of mlx5_ib for code sharing
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 31 Dec 2017 10:55:26 +0000 (12:55 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:28 +0000 (17:17 -0700)
commit1acae6b030164217b9c6a52245eade730057152b
tree732954a745c61984923e560b54bb62dfcbb54274
parent2816077127230ef52cc7497903e71def45747611
mlx5: Move dump error CQE function out of mlx5_ib for code sharing

Move mlx5_ib dump error CQE implementation to mlx5 CQ header file in
order to use it in a downstream patch from mlx5e.

In addition, use print_hex_dump instead of manual dumping of the buffer.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/cq.c
include/linux/mlx5/cq.h