提交 4b06843d 编写于 作者: F Firas Jahjah 提交者: Doug Ledford

RDMA/efa: Print address on AH creation failure

For debugging purposes, print destination address if failed to create AH.
Signed-off-by: NFiras Jahjah <firasj@amazon.com>
Reviewed-by: NYossi Leybovich <sleybo@amazon.com>
Signed-off-by: NGal Pressman <galpress@amazon.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 b41f7572
......@@ -300,7 +300,8 @@ int efa_com_create_ah(struct efa_com_dev *edev,
(struct efa_admin_acq_entry *)&cmd_completion,
sizeof(cmd_completion));
if (err) {
ibdev_err(edev->efa_dev, "Failed to create ah [%d]\n", err);
ibdev_err(edev->efa_dev, "Failed to create ah for %pI6 [%d]\n",
ah_cmd.dest_addr, err);
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册