“5e8e7fb6e6cf8d418e35f6af78fb969e012ee57c”上不存在“...fluid/inference/git@gitcode.net:RobotFutures/Paddle.git”
提交 01b3fc8b 编写于 作者: O Or Gerlitz 提交者: Roland Dreier

IPoIB: Include err code in trace message for ib_sa_path_rec_get() failures

Print the return code of ib_sa_path_rec_get() if it fails to help
debug errors.
Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 64b784b5
...@@ -548,7 +548,7 @@ static int path_rec_start(struct net_device *dev, ...@@ -548,7 +548,7 @@ static int path_rec_start(struct net_device *dev,
path_rec_completion, path_rec_completion,
path, &path->query); path, &path->query);
if (path->query_id < 0) { if (path->query_id < 0) {
ipoib_warn(priv, "ib_sa_path_rec_get failed\n"); ipoib_warn(priv, "ib_sa_path_rec_get failed: %d\n", path->query_id);
path->query = NULL; path->query = NULL;
return path->query_id; return path->query_id;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册