projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c7aac8
)
net/mlx5_core: Print resource number on QP/SRQ async events
author
Eli Cohen
<eli@dev.mellanox.co.il>
Tue, 2 Dec 2014 10:26:15 +0000
(12:26 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Dec 2014 01:45:54 +0000
(20:45 -0500)
Useful for debugging purposes.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/eq.c
b/drivers/net/ethernet/mellanox/mlx5/core/eq.c
index
dfd3ad0
..
ab68446
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/eq.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/eq.c
@@
-225,8
+225,8
@@
static int mlx5_eq_int(struct mlx5_core_dev *dev, struct mlx5_eq *eq)
case MLX5_EVENT_TYPE_WQ_INVAL_REQ_ERROR:
case MLX5_EVENT_TYPE_WQ_ACCESS_ERROR:
rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff;
- mlx5_core_dbg(dev, "event %s(%d) arrived\n",
- eqe_type_str(eqe->type), eqe->type);
+ mlx5_core_dbg(dev, "event %s(%d) arrived
on resource 0x%x
\n",
+ eqe_type_str(eqe->type), eqe->type
, rsn
);
mlx5_rsc_event(dev, rsn, eqe->type);
break;