git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0ff2fb
)
net/mlx5: add log on flow creation error
author
Xueming Li
<xuemingl@mellanox.com>
Tue, 6 Feb 2018 12:52:53 +0000
(20:52 +0800)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 13 Feb 2018 17:17:30 +0000
(18:17 +0100)
Add error message dump when flow create error happened.
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_flow.c
b/drivers/net/mlx5/mlx5_flow.c
index
323dab7
..
26002c4
100644
(file)
--- a/
drivers/net/mlx5/mlx5_flow.c
+++ b/
drivers/net/mlx5/mlx5_flow.c
@@
-1881,6
+1881,7
@@
priv_flow_create(struct priv *priv,
DEBUG("Flow created %p", (void *)flow);
return flow;
exit:
+ ERROR("flow creation error: %s", error->message);
for (i = 0; i != hash_rxq_init_n; ++i) {
if (parser.queue[i].ibv_attr)
rte_free(parser.queue[i].ibv_attr);