From: Xueming Li Date: Tue, 6 Feb 2018 12:52:53 +0000 (+0800) Subject: net/mlx5: add log on flow creation error X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=132c4c6e005e23972802093ed01d79d9ced25db4;p=dpdk.git net/mlx5: add log on flow creation error Add error message dump when flow create error happened. Signed-off-by: Xueming Li Acked-by: Nelio Laranjeiro --- diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 323dab7233..26002c4b9f 100644 --- 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);