projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3715c47
)
net/mlx5: Update eqe_type_str() event names
author
Eli Cohen
<eli@mellanox.com>
Fri, 28 Oct 2016 14:52:56 +0000
(09:52 -0500)
committer
Saeed Mahameed
<saeedm@mellanox.com>
Thu, 15 Jun 2017 21:12:40 +0000
(
00:12
+0300)
Add missing NIC_VPORT_CHANGE event.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
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
0ed8e90
..
2304824
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/eq.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/eq.c
@@
-157,6
+157,8
@@
static const char *eqe_type_str(u8 type)
return "MLX5_EVENT_TYPE_PAGE_FAULT";
case MLX5_EVENT_TYPE_PPS_EVENT:
return "MLX5_EVENT_TYPE_PPS_EVENT";
+ case MLX5_EVENT_TYPE_NIC_VPORT_CHANGE:
+ return "MLX5_EVENT_TYPE_NIC_VPORT_CHANGE";
case MLX5_EVENT_TYPE_FPGA_ERROR:
return "MLX5_EVENT_TYPE_FPGA_ERROR";
default: