|
@@ -193,6 +193,12 @@ int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
|
|
|
int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev,
|
|
|
struct mlx5_core_cq *cq, u16 cq_period,
|
|
|
u16 cq_max_count);
|
|
|
+static inline void mlx5_dump_err_cqe(struct mlx5_core_dev *dev,
|
|
|
+ struct mlx5_err_cqe *err_cqe)
|
|
|
+{
|
|
|
+ print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1, err_cqe,
|
|
|
+ sizeof(*err_cqe), false);
|
|
|
+}
|
|
|
int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
|
|
|
void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
|
|
|
|